diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2018-11-08 15:14:01 +0000 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2018-11-09 11:44:00 +0000 |
commit | d6f2b20998e2f6c6ec76ac7cf26ad17c3ec45764 (patch) | |
tree | d110fb02f12c58d9193c8a30348262ead09e9a1e /src/lib/emotion/emotion_modules.c | |
parent | 003323f244eccf6dd52b6e4be99ff258d61e580b (diff) |
emotion modules - warn - fix possible uninit var
Diffstat (limited to '')
-rw-r--r-- | src/lib/emotion/emotion_modules.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
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--) |