mirror of https://github.com/encounter/SDL.git
9e5cbf034a
Ensure that we're not trying to call SDL_small_alloc() with a count of zero. Transforming the code like this fixes a -Wmaybe-uninitialized warning from GCC 12.0.1 |
||
---|---|---|
.. | ||
direct3d | ||
direct3d11 | ||
metal | ||
opengl | ||
opengles | ||
opengles2 | ||
psp | ||
software | ||
vitagxm | ||
SDL_d3dmath.c | ||
SDL_d3dmath.h | ||
SDL_render.c | ||
SDL_sysrender.h | ||
SDL_yuv_sw.c | ||
SDL_yuv_sw_c.h |