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)
991
991
{
992
992
throw Py::ValueError (" Illegal array rank; must be rank; must 2 or 3" );
993
993
}
994
- buffer -= NUMBYTES;
995
994
996
995
return Py::asObject (imo);
997
996
}
@@ -1099,7 +1098,6 @@ _image_module::fromarray2(const Py::Tuple& args)
1099
1098
{
1100
1099
throw Py::ValueError (" Illegal array rank; must be rank; must 2 or 3" );
1101
1100
}
1102
- buffer -= NUMBYTES;
1103
1101
1104
1102
return Py::asObject (imo);
1105
1103
}
@@ -1681,7 +1679,6 @@ _image_module::pcolor(const Py::Tuple& args)
1681
1679
unsigned char *inposition;
1682
1680
size_t inrowsize (nx*4 );
1683
1681
size_t rowsize (cols*4 );
1684
- rowstart = rowstarts;
1685
1682
agg::int8u * position = buffer;
1686
1683
agg::int8u * oldposition = NULL ;
1687
1684
start = reinterpret_cast <unsigned char *>(d->data );
You can’t perform that action at this time.
0 commit comments