aboutsummaryrefslogtreecommitdiff
path: root/src/set/gnunet-set-profiler.c
diff options
context:
space:
mode:
authorРуслан Ижбулатов <lrn1986@gmail.com>2017-02-25 12:54:36 +0000
committerРуслан Ижбулатов <lrn1986@gmail.com>2017-02-25 21:03:41 +0000
commitfa08d5e7122936f2adc73babf3ff83608d07620c (patch)
tree6594263c9420b16f8762fdd3af94a2558d894650 /src/set/gnunet-set-profiler.c
parent31f699c7eeacc991abad778f881f51b0dbdcbc6d (diff)
downloadgnunet-fa08d5e7122936f2adc73babf3ff83608d07620c.tar.gz
gnunet-fa08d5e7122936f2adc73babf3ff83608d07620c.zip
Fix an initialization warning (GCC bug 53119)
Diffstat (limited to 'src/set/gnunet-set-profiler.c')
-rw-r--r--src/set/gnunet-set-profiler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/set/gnunet-set-profiler.c b/src/set/gnunet-set-profiler.c
index 971d9746a..cfbb5602a 100644
--- a/src/set/gnunet-set-profiler.c
+++ b/src/set/gnunet-set-profiler.c
@@ -220,7 +220,7 @@ set_listen_cb (void *cls,
220 struct GNUNET_SET_Request *request) 220 struct GNUNET_SET_Request *request)
221{ 221{
222 /* max. 2 options plus terminator */ 222 /* max. 2 options plus terminator */
223 struct GNUNET_SET_Option opts[3] = {0}; 223 struct GNUNET_SET_Option opts[3] = {{0}};
224 unsigned int n_opts = 0; 224 unsigned int n_opts = 0;
225 225
226 if (NULL == request) 226 if (NULL == request)
@@ -316,7 +316,7 @@ run (void *cls,
316 unsigned int i; 316 unsigned int i;
317 struct GNUNET_HashCode hash; 317 struct GNUNET_HashCode hash;
318 /* max. 2 options plus terminator */ 318 /* max. 2 options plus terminator */
319 struct GNUNET_SET_Option opts[3] = {0}; 319 struct GNUNET_SET_Option opts[3] = {{0}};
320 unsigned int n_opts = 0; 320 unsigned int n_opts = 0;
321 321
322 config = cfg; 322 config = cfg;