mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-11 12:28:27 +00:00
Fix -Werror=unused-but-set-variable compiler error (gcc 4.6.2)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@355700 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -252,8 +252,6 @@ int ooSocketCreateUDP (OOSOCKET* psocket)
|
||||
OOTRACEERR1("Error:Failed to set socket option SO_REUSEADDR\n");
|
||||
return ASN_E_INVSOCKET;
|
||||
}
|
||||
linger.l_onoff = 1;
|
||||
linger.l_linger = 0;
|
||||
/*if (setsockopt (sock, SOL_SOCKET, SO_LINGER,
|
||||
(const char* ) &linger, sizeof (linger)) == -1)
|
||||
return ASN_E_INVSOCKET;
|
||||
|
||||
Reference in New Issue
Block a user