diff options
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) |