diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-11-10 12:36:43 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-11-10 12:36:43 +0000 |
commit | a3a1fccc6e16f6dfdda03445f7b72b835fbc23b6 (patch) | |
tree | c2e2bdeee9c82573f9d9dcd0b0ca496e4261535f /src/testing/test_testing_topology.c | |
parent | 3bdb93656c817a4a0f12d093650b61ee690041f0 (diff) | |
download | gnunet-a3a1fccc6e16f6dfdda03445f7b72b835fbc23b6.tar.gz gnunet-a3a1fccc6e16f6dfdda03445f7b72b835fbc23b6.zip |
codesonar fixes
Diffstat (limited to 'src/testing/test_testing_topology.c')
-rw-r--r-- | src/testing/test_testing_topology.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/testing/test_testing_topology.c b/src/testing/test_testing_topology.c index adb5211fe..d1172916e 100644 --- a/src/testing/test_testing_topology.c +++ b/src/testing/test_testing_topology.c | |||
@@ -302,8 +302,7 @@ static void topology_cb (void *cls, | |||
302 | uint32_t distance, | 302 | uint32_t distance, |
303 | const char *emsg) | 303 | const char *emsg) |
304 | { | 304 | { |
305 | FILE *outfile; | 305 | FILE *outfile = cls; |
306 | outfile = cls; | ||
307 | if (first != NULL) | 306 | if (first != NULL) |
308 | { | 307 | { |
309 | if (outfile != NULL) | 308 | if (outfile != NULL) |