summaryrefslogtreecommitdiff
path: root/src/lib/emotion
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-08 15:14:01 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-09 11:44:00 +0000
commitd6f2b20998e2f6c6ec76ac7cf26ad17c3ec45764 (patch)
treed110fb02f12c58d9193c8a30348262ead09e9a1e /src/lib/emotion
parent003323f244eccf6dd52b6e4be99ff258d61e580b (diff)
emotion modules - warn - fix possible uninit var
Diffstat (limited to 'src/lib/emotion')
-rw-r--r--src/lib/emotion/emotion_modules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/emotion/emotion_modules.c b/src/lib/emotion/emotion_modules.c
index 868d223..5f079b2 100644
--- a/src/lib/emotion/emotion_modules.c
+++ b/src/lib/emotion/emotion_modules.c
@@ -325,7 +325,7 @@ _find_mod(const char *name)
325 if ((!path) || (!path[0])) continue; 325 if ((!path) || (!path[0])) continue;
326 // path is /*/modulename/ARCH/module.* - we want "modulename" 326 // path is /*/modulename/ARCH/module.* - we want "modulename"
327 found = 0; 327 found = 0;
328 p1 = p2 = NULL; 328 p1 = p2 = p3 = NULL;
329 for (p = path + strlen(path) - 1; 329 for (p = path + strlen(path) - 1;
330 p > path; 330 p > path;
331 p--) 331 p--)