remove unnecessary NULL assignment

This commit is contained in:
kaleb-himes
2016-03-01 16:33:47 -07:00
parent d473452769
commit d15dac04b8

View File

@ -870,7 +870,8 @@ static INLINE void tcp_accept(SOCKET_T* sockfd, SOCKET_T* clientfd,
if (ready_file) {
#ifndef NO_FILESYSTEM
FILE* srf = NULL;
ready = args ? args->signal : NULL;
if (args)
ready = args->signal;
if (ready) {
srf = fopen(ready->srfName, "w");