mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2024-12-26 19:08:29 +01:00
rtl_tcp: Initialize listensocket
Older versions of GCC will complain that it can be used uninitialized - which is not the case, but it breaks our Jenkins build as we build with -Werror.
This commit is contained in:
parent
8985b45e1f
commit
f427883320
@ -394,7 +394,7 @@ int main(int argc, char **argv)
|
|||||||
void *status;
|
void *status;
|
||||||
struct timeval tv = {1,0};
|
struct timeval tv = {1,0};
|
||||||
struct linger ling = {1,0};
|
struct linger ling = {1,0};
|
||||||
SOCKET listensocket;
|
SOCKET listensocket = 0;
|
||||||
socklen_t rlen;
|
socklen_t rlen;
|
||||||
fd_set readfds;
|
fd_set readfds;
|
||||||
u_long blockmode = 1;
|
u_long blockmode = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user