Skip to content

Commit 9470559

Browse files
make it compile
1 parent 2d7a171 commit 9470559

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src_c/surface.c

+6-3
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,12 @@ surf_set_colorkey(pgSurfaceObject *self, PyObject *args);
154154
static PyObject *
155155
surf_get_colorkey(pgSurfaceObject *self, PyObject *args);
156156
static PyObject *
157+
surf_set_colorkey_raw(pgSurfaceObject *self, PyObject *args);
158+
static PyObject *
159+
surf_get_colorkey_raw(pgSurfaceObject *self, PyObject *args);
160+
static PyObject *
161+
surf_has_colorkey(pgSurfaceObject *self, PyObject *args);
162+
static PyObject *
157163
surf_set_alpha(pgSurfaceObject *self, PyObject *args);
158164
static PyObject *
159165
surf_get_alpha(pgSurfaceObject *self, PyObject *args);
@@ -1316,7 +1322,6 @@ surf_get_colorkey_raw(pgSurfaceObject *self, PyObject *_null)
13161322
{
13171323
SDL_Surface *surf = pgSurface_AsSurface(self);
13181324
Uint32 mapped_color;
1319-
Uint8 r, g, b, a = 255;
13201325

13211326
SURF_INIT_CHECK(surf)
13221327

@@ -1331,8 +1336,6 @@ static PyObject *
13311336
surf_has_colorkey(pgSurfaceObject *self, PyObject *_null)
13321337
{
13331338
SDL_Surface *surf = pgSurface_AsSurface(self);
1334-
Uint32 mapped_color;
1335-
Uint8 r, g, b, a = 255;
13361339

13371340
SURF_INIT_CHECK(surf)
13381341

0 commit comments

Comments
 (0)