summaryrefslogtreecommitdiffstats
path: root/libexec/talkd
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2015-08-30 08:38:59 +0000
committerdelphij <delphij@FreeBSD.org>2015-08-30 08:38:59 +0000
commitbbfec22d960ab209ec12aa1ef501e066ebc315af (patch)
treeed07cce3ecf619ac7eb23c474ca9646778707357 /libexec/talkd
parent8d79bfab265fe14531309e5f44f8d9d242c23449 (diff)
downloadFreeBSD-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.c1
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) {
OpenPOWER on IntegriCloud