diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2016-10-12 17:57:16 +0100 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2016-10-12 17:57:16 +0100 |
commit | 570c0b5c22bac8882a805a43201aecc20d9f03d9 (patch) | |
tree | 7dc7a45098497f6f05088ba38bf8c0304d5f898d | |
parent | 3c18780b02f458be00e5edb03b0840c1b60c5398 (diff) |
Initialise variable in tests
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
-rw-r--r-- | tests/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/common.c b/tests/common.c index 2155280..e1140c3 100644 --- a/tests/common.c +++ b/tests/common.c @@ -94,7 +94,7 @@ launch_latency_client(bool local, const char *fmt, va_list ap) exit(1); } - int count; + int count = 0; while (!latency_running()) { usleep(2000); assert(++count < 100); |