]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/bsock.c
Fix compilation warnings with GCC 6.1
[bacula/bacula] / bacula / src / lib / bsock.c
index 5cb5d63da4de0a7fa03bb514ce964d3111ed15ad..1a694cc231ce827e6e4d7df89dc0ccfeb5a6ecad 100644 (file)
@@ -916,9 +916,6 @@ int BSOCK::wait_data_intr(int sec, int usec)
    fd_set fdset;
    struct timeval tv;
 
-   if (this == NULL) {
-      return -1;
-   }
    FD_ZERO(&fdset);
    FD_SET((unsigned)m_fd, &fdset);
    tv.tv_sec = sec;