diff options
author | Haru <haru@dotalux.com> | 2016-09-15 15:29:16 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-10-07 01:10:28 +0200 |
commit | c5780deadbda31d4a76e7f4ded866d769c2a1151 (patch) | |
tree | 42a3c979fa9f96ddfe014f485115dffc4e9883d3 /src/common/socket.c | |
parent | 953feee90e47d75449151834707a165f9ce57fda (diff) | |
download | hercules-c5780deadbda31d4a76e7f4ded866d769c2a1151.tar.gz hercules-c5780deadbda31d4a76e7f4ded866d769c2a1151.tar.bz2 hercules-c5780deadbda31d4a76e7f4ded866d769c2a1151.tar.xz hercules-c5780deadbda31d4a76e7f4ded866d769c2a1151.zip |
Fixed some issues detected by clang's static analyzer (Xcode 8/macOS Sierra)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/socket.c')
-rw-r--r-- | src/common/socket.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/common/socket.c b/src/common/socket.c index 5f284587a..d4b8bb43f 100644 --- a/src/common/socket.c +++ b/src/common/socket.c @@ -1023,10 +1023,6 @@ int do_sockets(int next) } } -#ifdef __clang_analyzer__ - // Let Clang's static analyzer know this never happens (it thinks it might because of a NULL check in session_is_valid) - if (!sockt->session[i]) continue; -#endif // __clang_analyzer__ sockt->session[i]->func_parse(i); if(!sockt->session[i]) |