From 437a6cf2d5f3897fb1e3eb0dc60c5098f5a6a2d9 Mon Sep 17 00:00:00 2001 From: froejdh_e Date: Fri, 27 Oct 2023 12:05:21 +0200 Subject: [PATCH] initialize c to 0 in cluster reader --- src/cluster_reader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cluster_reader.c b/src/cluster_reader.c index fc953ff..2166cff 100644 --- a/src/cluster_reader.c +++ b/src/cluster_reader.c @@ -192,7 +192,7 @@ int analyze_data(int32_t *data, int32_t *t2, int32_t *t3, char *quad, int32_t tot2[4]; int32_t t2max = 0; - char c; + char c = 0; int32_t val, tot3; tot3 = 0;