Don't assign 'ptr' without using it.

Reported by:	clang static analyzer
MFC after:	2 weeks
This commit is contained in:
Xin LI
2015-08-30 08:38:59 +00:00
parent 3ea917837d
commit 34a8cde09d
-1
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) {