diff options
author | delphij <delphij@FreeBSD.org> | 2015-08-30 08:38:59 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2015-08-30 08:38:59 +0000 |
commit | bbfec22d960ab209ec12aa1ef501e066ebc315af (patch) | |
tree | ed07cce3ecf619ac7eb23c474ca9646778707357 /libexec/talkd | |
parent | 8d79bfab265fe14531309e5f44f8d9d242c23449 (diff) | |
download | FreeBSD-src-bbfec22d960ab209ec12aa1ef501e066ebc315af.zip FreeBSD-src-bbfec22d960ab209ec12aa1ef501e066ebc315af.tar.gz |
Don't assign 'ptr' without using it.
Reported by: clang static analyzer
MFC after: 2 weeks
Diffstat (limited to 'libexec/talkd')
-rw-r--r-- | libexec/talkd/table.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libexec/talkd/table.c b/libexec/talkd/table.c index 70b71b2..e98bfe3 100644 --- a/libexec/talkd/table.c +++ b/libexec/talkd/table.c @@ -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) { |