File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -991,7 +991,6 @@ _image_module::fromarray(const Py::Tuple& args)
991991 {
992992 throw Py::ValueError (" Illegal array rank; must be rank; must 2 or 3" );
993993 }
994- buffer -= NUMBYTES;
995994
996995 return Py::asObject (imo);
997996}
@@ -1099,7 +1098,6 @@ _image_module::fromarray2(const Py::Tuple& args)
10991098 {
11001099 throw Py::ValueError (" Illegal array rank; must be rank; must 2 or 3" );
11011100 }
1102- buffer -= NUMBYTES;
11031101
11041102 return Py::asObject (imo);
11051103}
@@ -1681,7 +1679,6 @@ _image_module::pcolor(const Py::Tuple& args)
16811679 unsigned char *inposition;
16821680 size_t inrowsize (nx*4 );
16831681 size_t rowsize (cols*4 );
1684- rowstart = rowstarts;
16851682 agg::int8u * position = buffer;
16861683 agg::int8u * oldposition = NULL ;
16871684 start = reinterpret_cast <unsigned char *>(d->data );
You can’t perform that action at this time.
0 commit comments