Don't assign 'ptr' without using it.

Reported by:	clang static analyzer
MFC after:	2 weeks
This commit is contained in:
delphij 2015-08-30 08:38:59 +00:00
parent 8d79bfab26
commit bbfec22d96

View File

@ -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) {