From: Matthias Wachs Date: Wed, 29 Aug 2012 07:16:59 +0000 (+0000) Subject: coverity 10270 X-Git-Tag: initial-import-from-subversion-38251~12047 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0e100a7c9f93ebf621fb38a502b517807b952f12;p=oweals%2Fgnunet.git coverity 10270 --- diff --git a/src/transport/test_plugin_transport.c b/src/transport/test_plugin_transport.c index db988fbe9..500bcaf39 100644 --- a/src/transport/test_plugin_transport.c +++ b/src/transport/test_plugin_transport.c @@ -180,9 +180,9 @@ end_badly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) libname = NULL; } - w = head; while (NULL != head) { + w = head; GNUNET_CONTAINER_DLL_remove (head, tail, w); c ++; GNUNET_free (w->addr);