File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed
Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,6 @@ BufferRegion::to_string_argb(const Py::Tuple &args)
166166 throw Py::TypeError (" Could not create memory for blit" );
167167 }
168168
169- pix = begin;
170169 for (i = 0 ; i < (size_t )height; ++i)
171170 {
172171 pix = begin + i * stride;
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