diff --git a/src_c/surface.c b/src_c/surface.c index 6a299f3bf6..64313d0028 100644 --- a/src_c/surface.c +++ b/src_c/surface.c @@ -869,7 +869,6 @@ static PyObject * surf_get_at_mapped(PyObject *self, PyObject *position) { SDL_Surface *surf = pgSurface_AsSurface(self); - SDL_PixelFormat *format = NULL; Uint8 *pixels = NULL; int x, y; Sint32 color;