diff --git a/src/libzt.cpp b/src/libzt.cpp index 8be027e..ad09e07 100644 --- a/src/libzt.cpp +++ b/src/libzt.cpp @@ -638,7 +638,7 @@ int zts_bind(ZT_BIND_SIG) { } // detect local interface binds - ZeroTier::VirtualTap *tap; + ZeroTier::VirtualTap *tap = NULL; if(vs->socket_family == AF_INET) { struct sockaddr_in *in4 = (struct sockaddr_in *)addr; diff --git a/test/selftest.cpp b/test/selftest.cpp index e1e7e0b..df27d68 100644 --- a/test/selftest.cpp +++ b/test/selftest.cpp @@ -1546,9 +1546,8 @@ void* create_socket(void *arg) } for(i=0; i<(0xFFFFFFFF);i++); - + */ return NULL; - */ }