SDL
SDL copied to clipboard
Potentially missing null check
I'm not sure if we need check return values of the following functions for null. These functions are checked for null in most cases (70%+). https://github.com/libsdl-org/SDL/blob/a4604cb0d616db97921a2674a63b45f3fdfb81bc/src/video/x11/SDL_x11modes.c#L407 https://github.com/libsdl-org/SDL/blob/a4604cb0d616db97921a2674a63b45f3fdfb81bc/src/video/wayland/SDL_waylandvideo.c#L552 https://github.com/libsdl-org/SDL/blob/a4604cb0d616db97921a2674a63b45f3fdfb81bc/src/video/wayland/SDL_waylandvideo.c#L616 https://github.com/libsdl-org/SDL/blob/a4604cb0d616db97921a2674a63b45f3fdfb81bc/src/video/x11/SDL_x11mouse.c#L308