From 49e84a08e2bbdcc421a24bfe1ccd9cc15846fe2b Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Wed, 25 Jan 2012 15:09:34 +0000 Subject: - clang --- src/transport/plugin_transport_http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/transport/plugin_transport_http.c') diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c index 0bfa82123..684612617 100644 --- a/src/transport/plugin_transport_http.c +++ b/src/transport/plugin_transport_http.c @@ -723,7 +723,7 @@ http_plugin_disconnect (void *cls, const struct GNUNET_PeerIdentity *target) GNUNET_CONTAINER_DLL_remove (plugin->head, plugin->tail, s); struct HTTP_Message *msg = s->msg_head; - struct HTTP_Message *tmp = s->msg_head; + struct HTTP_Message *tmp = NULL; while (msg != NULL) { @@ -1495,7 +1495,7 @@ LIBGNUNET_PLUGIN_TRANSPORT_DONE (void *cls) GNUNET_CONTAINER_DLL_remove (plugin->head, plugin->tail, s); struct HTTP_Message *msg = s->msg_head; - struct HTTP_Message *tmp = s->msg_head; + struct HTTP_Message *tmp = NULL; while (msg != NULL) { -- cgit v1.2.3