Fixed Uninitialized Variable warning.
authoranryko <a.shvenke@gmail.com>
Thu, 4 Jan 2018 22:37:53 +0000 (23:37 +0100)
committeranryko <a.shvenke@gmail.com>
Thu, 4 Jan 2018 22:37:53 +0000 (23:37 +0100)
src/cadet/cadet_api.c

index 497c9a4f0ba887216a28e21a182d7344ab08d9b1..4bb3d570be61f7718a768030814c120f3757194c 100644 (file)
@@ -491,7 +491,7 @@ cadet_mq_send_impl (struct GNUNET_MQ_Handle *mq,
   struct GNUNET_CADET_Handle *h = ch->cadet;
   uint16_t msize;
   struct GNUNET_MQ_Envelope *env;
-  struct GNUNET_CADET_LocalData *cadet_msg;
+  struct GNUNET_CADET_LocalData *cadet_msg = NULL;
 
   if (NULL == h->mq)
   {