summaryrefslogtreecommitdiff
path: root/src/utils/timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/timer.cpp')
-rw-r--r--src/utils/timer.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/utils/timer.cpp b/src/utils/timer.cpp
index dff2816a8..7100096c8 100644
--- a/src/utils/timer.cpp
+++ b/src/utils/timer.cpp
@@ -33,10 +33,11 @@ namespace
#ifdef USE_SDL2
SDL_TimerID mLogicCounterId(0);
SDL_TimerID mSecondsCounterId(0);
-#else
+#else // USE_SDL2
+
SDL_TimerID mLogicCounterId(nullptr);
SDL_TimerID mSecondsCounterId(nullptr);
-#endif
+#endif // USE_SDL2
} // namespace
/**