summaryrefslogtreecommitdiff
path: root/tools/perf/tests/mmap-thread-lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/mmap-thread-lookup.c')
-rw-r--r--tools/perf/tests/mmap-thread-lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/mmap-thread-lookup.c b/tools/perf/tests/mmap-thread-lookup.c
index 0c5ce44f723f..e5d6e6584001 100644
--- a/tools/perf/tests/mmap-thread-lookup.c
+++ b/tools/perf/tests/mmap-thread-lookup.c
@@ -49,7 +49,7 @@ static void *thread_fn(void *arg)
{
struct thread_data *td = arg;
ssize_t ret;
- int go;
+ int go = 0;
if (thread_init(td))
return NULL;