Skip to content

Commit 0e75467

Browse files
committed
default pointer to NULL now
1 parent 9069359 commit 0e75467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src_c/draw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ aaline(PyObject *self, PyObject *arg, PyObject *kwargs)
105105
PyObject *colorobj, *start, *end;
106106
SDL_Surface *surf = NULL;
107107
float startx, starty, endx, endy;
108-
PyObject *blend;
108+
PyObject *blend = NULL;
109109
int drawn_area[4] = {INT_MAX, INT_MAX, INT_MIN,
110110
INT_MIN}; /* Used to store bounding box values */
111111
Uint32 color;

0 commit comments

Comments
 (0)