diff options
Diffstat (limited to 'Modules/imageop.c')
-rw-r--r-- | Modules/imageop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/imageop.c b/Modules/imageop.c index 90e4f54..686d0c6 100644 --- a/Modules/imageop.c +++ b/Modules/imageop.c @@ -458,7 +458,7 @@ imageop_grey22grey(self, args) int x, y, len, nlen; unsigned char *cp, *ncp; object *rv; - int i, pos, value, nvalue; + int i, pos, value = 0, nvalue; if ( !getargs(args, "(s#ii)", &cp, &len, &x, &y) ) return 0; @@ -495,7 +495,7 @@ imageop_grey42grey(self, args) int x, y, len, nlen; unsigned char *cp, *ncp; object *rv; - int i, pos, value, nvalue; + int i, pos, value = 0, nvalue; if ( !getargs(args, "(s#ii)", &cp, &len, &x, &y) ) return 0; |