From 3f6325cff0f80dd6a4436ff61dcb3b6304604236 Mon Sep 17 00:00:00 2001 From: "Bruce A. Mah" Date: Tue, 2 May 2017 19:36:20 -0700 Subject: [PATCH] Silence a warning over an uninitialized variable. --- src/iperf_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iperf_api.c b/src/iperf_api.c index c28ad42..99d8dd7 100755 --- a/src/iperf_api.c +++ b/src/iperf_api.c @@ -2526,7 +2526,7 @@ iperf_print_results(struct iperf_test *test) struct iperf_stream *sp = NULL; iperf_size_t bytes_sent, total_sent = 0; iperf_size_t bytes_received, total_received = 0; - double start_time, end_time = 0.0, avg_jitter = 0.0, lost_percent; + double start_time, end_time = 0.0, avg_jitter = 0.0, lost_percent = 0.0; double sender_time, receiver_time; double bandwidth;