Fix some more compiler warnings on armcc.

This commit is contained in:
Ryan C. Gordon 2017-03-03 16:38:17 -05:00
parent 04142af157
commit 82d0a04881
8 changed files with 23 additions and 12 deletions

View file

@ -1938,7 +1938,7 @@ SDL_DestroyRenderer(SDL_Renderer * renderer)
/* Free existing textures for this renderer */
while (renderer->textures) {
SDL_Texture *tex = renderer->textures;
SDL_Texture *tex = renderer->textures; (void) tex;
SDL_DestroyTexture(renderer->textures);
SDL_assert(tex != renderer->textures); /* satisfy static analysis. */
}