Don't assign 'ptr' without using it.
Reported by: clang static analyzer MFC after: 2 weeks
This commit is contained in:
parent
8d79bfab26
commit
bbfec22d96
@ -197,7 +197,6 @@ delete_invite(u_int32_t id_num)
|
||||
{
|
||||
TABLE_ENTRY *ptr;
|
||||
|
||||
ptr = table;
|
||||
if (debug)
|
||||
syslog(LOG_DEBUG, "delete_invite(%d)", id_num);
|
||||
for (ptr = table; ptr != NIL; ptr = ptr->next) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user