RPS test util: Initialise local memory
authorJulius Bünger <buenger@mytum.de>
Wed, 20 Feb 2019 19:57:59 +0000 (20:57 +0100)
committerJulius Bünger <buenger@mytum.de>
Wed, 20 Feb 2019 20:01:08 +0000 (21:01 +0100)
src/rps/rps-test_util.c

index 7f54feca1623ca0a1c09cf820ceac269f2622d5a..227ff1a50c8f0451a4ccdcfa64e50a9735674c32 100644 (file)
@@ -74,7 +74,7 @@ static struct GNUNET_CONTAINER_MultiHashMap *open_files;
 struct GNUNET_DISK_FileHandle *
 get_file_handle (const char *name)
 {
-  struct GNUNET_HashCode hash;
+  struct GNUNET_HashCode hash = {0};
   struct GNUNET_DISK_FileHandle *fh;
 
   if (NULL == open_files)