diff options
author | Guido van Rossum <guido@python.org> | 1995-01-02 19:30:30 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-01-02 19:30:30 +0000 |
commit | 6a06edf0559e6b5bc4ba0a1f29f84bcef1b910eb (patch) | |
tree | 7bbd8a491a569156a456df841e183b710a4768d8 /Modules/imageop.c | |
parent | da53fe910851f9df1d4bc7b777327fd74252044a (diff) | |
download | cpython-6a06edf0559e6b5bc4ba0a1f29f84bcef1b910eb.tar.gz |
Another bulky set of minor changes.
Note addition of gethostbyaddr() and improved repr() for sockets,
renaming of md5.md5() to md5.new(), and fixing of leaks in threads.
Diffstat (limited to 'Modules/imageop.c')
-rw-r--r-- | Modules/imageop.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Modules/imageop.c b/Modules/imageop.c index 77da52e78e..d3d14e4362 100644 --- a/Modules/imageop.c +++ b/Modules/imageop.c @@ -133,7 +133,7 @@ imageop_tovideo(self, args) { int maxx, maxy, x, y, len; int i; - unsigned char *cp, *ncp, cdata; + unsigned char *cp, *ncp; int width; object *rv; @@ -404,9 +404,8 @@ imageop_mono2grey(self, args) { int v0, v1, x, y, len, nlen; unsigned char *cp, *ncp; - unsigned char ovalue; object *rv; - int i, bit, value; + int i, bit; if ( !getargs(args, "(s#iiii)", &cp, &len, &x, &y, &v0, &v1) ) return 0; @@ -444,7 +443,6 @@ imageop_grey22grey(self, args) { int x, y, len, nlen; unsigned char *cp, *ncp; - unsigned char ovalue; object *rv; int i, pos, value, nvalue; @@ -482,7 +480,6 @@ imageop_grey42grey(self, args) { int x, y, len, nlen; unsigned char *cp, *ncp; - unsigned char ovalue; object *rv; int i, pos, value, nvalue; |