diff options
author | Torbjörn Andersson | 2004-04-27 10:01:15 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-04-27 10:01:15 +0000 |
commit | b2b9317dad95c0e29e4283e482b45a771ec5401e (patch) | |
tree | 80051df69af9cd1b829997e1ca3cec16c1533787 | |
parent | 707e9a403bb4ce25a8cec15d92a48c3c23dddb1e (diff) | |
download | scummvm-rg350-b2b9317dad95c0e29e4283e482b45a771ec5401e.tar.gz scummvm-rg350-b2b9317dad95c0e29e4283e482b45a771ec5401e.tar.bz2 scummvm-rg350-b2b9317dad95c0e29e4283e482b45a771ec5401e.zip |
Fixed warnings. At the time of writing, only xmidi.cpp causes warnings for
me now, but I'm not sure how to fix those.
svn-id: r13651
-rw-r--r-- | saga/expr.cpp | 4 | ||||
-rw-r--r-- | saga/scene.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/saga/expr.cpp b/saga/expr.cpp index 386be3d7c0..f2721b69a0 100644 --- a/saga/expr.cpp +++ b/saga/expr.cpp @@ -107,7 +107,7 @@ EXPR_Parse(const char **exp_pp, int *len, R_CVAR_P * expr_cvar, char **rvalue) int i; int in_char; - int equ_offset; + int equ_offset = 0; int rvalue_offset; char *lvalue_str; @@ -322,7 +322,7 @@ char *EXPR_ReadString(const char **string_p, int *len, int term_char) { int string_len; - char *str_p; + char *str_p = NULL; char *term_p; const char *scan_p; diff --git a/saga/scene.cpp b/saga/scene.cpp index a59fdd9ebc..26e1630860 100644 --- a/saga/scene.cpp +++ b/saga/scene.cpp @@ -114,7 +114,7 @@ int SCENE_Init(void) /* Load scene lookup table * \*------------------------------------------------------------ */ R_printf(R_STDOUT, - "SCENE_Init(): Loading scene LUT from resource %d.\n", + "SCENE_Init(): Loading scene LUT from resource %ld.\n", gs_desc.scene_lut_rn); result = RSC_LoadResource(SceneModule.scene_ctxt, @@ -575,7 +575,7 @@ SCENE_Load(int scene_num, SceneModule.scene_rn = res_number; assert(SceneModule.scene_rn != 0); - R_printf(R_STDOUT, "Loading scene resource %d:\n", res_number); + R_printf(R_STDOUT, "Loading scene resource %ld:\n", res_number); if (LoadSceneDescriptor(res_number) != R_SUCCESS) { R_printf(R_STDERR, |