diff options
author | Loïc Hoguin <[email protected]> | 2018-05-24 11:21:59 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-05-24 11:21:59 +0200 |
commit | 9868844f7f4d7c4fca164be610ef8f010a1255ee (patch) | |
tree | de2349664ef570e234acd006f001c7136910df38 /c_src/sdl_rect.c | |
parent | 51340fa75960ad44997175139eabd8e80753b4a3 (diff) | |
download | esdl2-9868844f7f4d7c4fca164be610ef8f010a1255ee.tar.gz esdl2-9868844f7f4d7c4fca164be610ef8f010a1255ee.tar.bz2 esdl2-9868844f7f4d7c4fca164be610ef8f010a1255ee.zip |
Fix cppcheck warnings
Diffstat (limited to 'c_src/sdl_rect.c')
-rw-r--r-- | c_src/sdl_rect.c | 2 |
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; |