diff options
author | Kim Woelders <kim@woelders.dk> | 2018-03-07 16:30:51 +0100 |
---|---|---|
committer | Kim Woelders <kim@woelders.dk> | 2018-03-07 19:45:39 +0100 |
commit | 5a7644a0c039da9284019d1b93c036efd1bb5d26 (patch) | |
tree | e42c441eeda40952f89876d82941cc07062c762e | |
parent | 8038d9c618f78d61db5b5f19a7aba9366090dd16 (diff) | |
download | imlib2-5a7644a0c039da9284019d1b93c036efd1bb5d26.tar.gz |
XPM loader: Fix potential use of uninitialized value (T6746)
https://phab.enlightenment.org/T6746
https://bugs.debian.org/868151
-rw-r--r-- | src/modules/loaders/loader_xpm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/loaders/loader_xpm.c b/src/modules/loaders/loader_xpm.c index 3ba146a..0a8e512 100644 --- a/src/modules/loaders/loader_xpm.c +++ b/src/modules/loaders/loader_xpm.c @@ -145,6 +145,8 @@ load(ImlibImage * im, ImlibProgressFunction progress, char progress_granularity, cmap = NULL; w = 10; h = 10; + ncolors = 0; + cpp = 0; ptr = NULL; end = NULL; c = ' '; |