Fixed Xcode 14.2 warnings
This commit is contained in:
parent
dc280c17a0
commit
237086c917
3 changed files with 2 additions and 7 deletions
src
|
@ -478,11 +478,6 @@ static void SDLCALL SDL_LogOutput(void *userdata, int category, SDL_LogPriority
|
|||
#if HAVE_STDIO_H && \
|
||||
!(defined(__APPLE__) && (defined(SDL_VIDEO_DRIVER_COCOA) || defined(SDL_VIDEO_DRIVER_UIKIT)))
|
||||
(void)fprintf(stderr, "%s: %s\n", SDL_priority_prefixes[priority], message);
|
||||
#else
|
||||
/* We won't print anything, but reference the priority prefix anyway
|
||||
to avoid a compiler warning.
|
||||
*/
|
||||
(void)SDL_priority_prefixes[priority];
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue