aboutsummaryrefslogtreecommitdiffstats
path: root/c_src/sdl_rect.c
diff options
context:
space:
mode:
Diffstat (limited to 'c_src/sdl_rect.c')
-rw-r--r--c_src/sdl_rect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c_src/sdl_rect.c b/c_src/sdl_rect.c
index ed42fdd..2bed2f4 100644
--- a/c_src/sdl_rect.c
+++ b/c_src/sdl_rect.c
@@ -92,7 +92,7 @@ ERL_NIF_TERM rect_to_map(ErlNifEnv* env, const SDL_Rect* rect)
NIF_FUNCTION(enclose_points)
{
- SDL_Point* points = NULL;
+ SDL_Point* points;
SDL_Rect clip, result;
SDL_bool b;
ERL_NIF_TERM list, head;