From d6f2b20998e2f6c6ec76ac7cf26ad17c3ec45764 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Thu, 8 Nov 2018 15:14:01 +0000 Subject: [PATCH] emotion modules - warn - fix possible uninit var --- src/lib/emotion/emotion_modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/emotion/emotion_modules.c b/src/lib/emotion/emotion_modules.c index 868d223f55..5f079b2983 100644 --- a/src/lib/emotion/emotion_modules.c +++ b/src/lib/emotion/emotion_modules.c @@ -325,7 +325,7 @@ _find_mod(const char *name) if ((!path) || (!path[0])) continue; // path is /*/modulename/ARCH/module.* - we want "modulename" found = 0; - p1 = p2 = NULL; + p1 = p2 = p3 = NULL; for (p = path + strlen(path) - 1; p > path; p--)