diff options
author | Max Horn | 2009-02-15 14:52:52 +0000 |
---|---|---|
committer | Max Horn | 2009-02-15 14:52:52 +0000 |
commit | 3ea3141e9091e349b6dbcd4b6a79ceba5f62e14f (patch) | |
tree | 9f87c3e65598c9b596d376b7b68a2987e0a5f96a /engines/sci/gfx/resource/sci_pic_0.cpp | |
parent | aa3f10b2fdabd123c08354131949f7920399df70 (diff) | |
download | scummvm-rg350-3ea3141e9091e349b6dbcd4b6a79ceba5f62e14f.tar.gz scummvm-rg350-3ea3141e9091e349b6dbcd4b6a79ceba5f62e14f.tar.bz2 scummvm-rg350-3ea3141e9091e349b6dbcd4b6a79ceba5f62e14f.zip |
Some more warning fixes
svn-id: r38248
Diffstat (limited to 'engines/sci/gfx/resource/sci_pic_0.cpp')
-rw-r--r-- | engines/sci/gfx/resource/sci_pic_0.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/engines/sci/gfx/resource/sci_pic_0.cpp b/engines/sci/gfx/resource/sci_pic_0.cpp index d3c16724fb..87495dcb10 100644 --- a/engines/sci/gfx/resource/sci_pic_0.cpp +++ b/engines/sci/gfx/resource/sci_pic_0.cpp @@ -24,10 +24,8 @@ ***************************************************************************/ +#include <time.h> // for time() to seed rand() via srand() #include "sci/include/sci_memory.h" -#include <assert.h> -#include <math.h> -#include <time.h> #include "sci/include/gfx_resource.h" #include "sci/include/gfx_tools.h" @@ -577,7 +575,8 @@ enum { #ifdef GFXR_DEBUG_PIC0 #define p0printf sciprintf #else -#define p0printf if (0) +void do_nothing(...) { } +#define p0printf do_nothing #endif |