From f41e8a193500a4a6ab185627a272d6b3765d5efc Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 8 Mar 2011 11:36:58 +0000 Subject: [PATCH] fixwarning --- src/transport/Makefile.am | 2 +- src/transport/plugin_transport_wlan.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/transport/Makefile.am b/src/transport/Makefile.am index ee01b00cf..db528d80c 100644 --- a/src/transport/Makefile.am +++ b/src/transport/Makefile.am @@ -351,7 +351,7 @@ test_transport_api_reliability_https_LDADD = \ $(top_builddir)/src/transport/libgnunettransport.la \ $(top_builddir)/src/hello/libgnunethello.la \ $(top_builddir)/src/util/libgnunetutil.la - + test_transport_api_unreliability_unix_SOURCES = \ test_transport_api_unreliability.c test_transport_api_unreliability_unix_LDADD = \ diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c index ab7446e06..f184ff47a 100644 --- a/src/transport/plugin_transport_wlan.c +++ b/src/transport/plugin_transport_wlan.c @@ -1587,8 +1587,8 @@ wlan_plugin_send(void *cls, const struct GNUNET_PeerIdentity * target, struct Plugin * plugin = cls; struct PendingMessage * newmsg = NULL; struct WlanHeader * wlanheader = NULL; - struct GNUNET_MessageHeader * innermsg = - (struct GNUNET_MessageHeader *) msgbuf; + //struct GNUNET_MessageHeader * innermsg = + // (struct GNUNET_MessageHeader *) msgbuf; //check if msglen > 0 GNUNET_assert(msgbuf_size > 0); -- 2.25.1