Eddy Jansson 9e5cbf034a Disallow non-positive allocation.
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
2022-04-29 18:34:13 -07:00
..
2022-02-08 21:32:50 +03:00
2022-01-03 09:40:21 -08:00
2022-01-28 20:40:19 -05:00
2022-01-03 09:40:21 -08:00
2022-02-04 20:03:50 +03:00
2022-04-29 18:34:13 -07:00
2022-04-12 17:01:20 +03:00
2022-04-29 10:39:51 -07:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-04-01 08:01:44 +02:00
2022-04-01 08:01:44 +02:00