diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libppmcolor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libppmcolor.c b/lib/libppmcolor.c index 7cfacd29..8ecfd80d 100644 --- a/lib/libppmcolor.c +++ b/lib/libppmcolor.c @@ -145,6 +145,7 @@ parseHexDigits(const char * const string, pixval n; digitCount = 0; + n = 0; while (string[digitCount] != delim) { char const digit = string[digitCount]; if (digit == '\0') |