Date: Sun, 30 Aug 2015 08:38:59 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r287301 - head/libexec/talkd Message-ID: <201508300838.t7U8cxvj019947@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Sun Aug 30 08:38:59 2015 New Revision: 287301 URL: https://svnweb.freebsd.org/changeset/base/287301 Log: Don't assign 'ptr' without using it. Reported by: clang static analyzer MFC after: 2 weeks Modified: head/libexec/talkd/table.c Modified: head/libexec/talkd/table.c ============================================================================== --- head/libexec/talkd/table.c Sun Aug 30 04:46:44 2015 (r287300) +++ head/libexec/talkd/table.c Sun Aug 30 08:38:59 2015 (r287301) @@ -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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508300838.t7U8cxvj019947>