diff options
author | Paweł Kołodziejski | 2003-03-06 16:27:06 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-03-06 16:27:06 +0000 |
commit | 6ce098172f3754a2c279e1e2d156f3354c612011 (patch) | |
tree | 5d55422c648e93f4b78e49c303ec1978819b3fa4 /common/timer.cpp | |
parent | 38e926cee3ec4a5066d41c0dc95231e156543b64 (diff) | |
download | scummvm-rg350-6ce098172f3754a2c279e1e2d156f3354c612011.tar.gz scummvm-rg350-6ce098172f3754a2c279e1e2d156f3354c612011.tar.bz2 scummvm-rg350-6ce098172f3754a2c279e1e2d156f3354c612011.zip |
next pedantic cleanup code
svn-id: r6714
Diffstat (limited to 'common/timer.cpp')
-rw-r--r-- | common/timer.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/common/timer.cpp b/common/timer.cpp index 568a27a673..940bd0e206 100644 --- a/common/timer.cpp +++ b/common/timer.cpp @@ -36,8 +36,7 @@ Timer::~Timer() { release(); } -static int timer_handler (int t) -{ +static int timer_handler (int t) { eng->_timer->handler(&t); return t; } @@ -68,9 +67,9 @@ bool Timer::init() { int32 l; if (_engine->_system == NULL) { - printf("Timer: OSystem not initialized !\n"); - return false; - } + printf("Timer: OSystem not initialized !\n"); + return false; +} if (_initialized == true) return true; |