Skip to content

Commit

Permalink
Fix warning in sdl.cpp in release build
Browse files Browse the repository at this point in the history
  • Loading branch information
jhasse committed Oct 15, 2023
1 parent 78e483e commit c4c4d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdl/sdl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ SDL::~SDL() {
SDL_Quit();
}
void SDL::setHint(const char* name, bool value) {
const auto result = SDL_SetHint(name, value ? "1" : "0");
[[maybe_unused]] const auto result = SDL_SetHint(name, value ? "1" : "0");
assert(result == SDL_TRUE);
}

Expand Down

0 comments on commit c4c4d8f

Please sign in to comment.