[Scummvm-cvs-logs] SF.net SVN: scummvm:[38218] scummvm/trunk/engines/sci/engine
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sun Feb 15 11:24:33 CET 2009
Revision: 38218
http://scummvm.svn.sourceforge.net/scummvm/?rev=38218&view=rev
Author: thebluegr
Date: 2009-02-15 10:24:32 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Silenced some MSVC warnings
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/kpathing.c
scummvm/trunk/engines/sci/engine/ksound.c
scummvm/trunk/engines/sci/engine/scriptconsole.c
scummvm/trunk/engines/sci/engine/scriptdebug.c
scummvm/trunk/engines/sci/engine/seg_manager.c
Modified: scummvm/trunk/engines/sci/engine/kpathing.c
===================================================================
--- scummvm/trunk/engines/sci/engine/kpathing.c 2009-02-15 10:21:22 UTC (rev 38217)
+++ scummvm/trunk/engines/sci/engine/kpathing.c 2009-02-15 10:24:32 UTC (rev 38218)
@@ -1516,7 +1516,7 @@
/* Loop until we find vertex_end */
while (1) {
int i;
- vertex_t *vertex, *vertex_min;
+ vertex_t *vertex, *vertex_min = 0;
float min = HUGE_DISTANCE;
/* Find vertex at shortest distance from set done */
Modified: scummvm/trunk/engines/sci/engine/ksound.c
===================================================================
--- scummvm/trunk/engines/sci/engine/ksound.c 2009-02-15 10:21:22 UTC (rev 38217)
+++ scummvm/trunk/engines/sci/engine/ksound.c 2009-02-15 10:24:32 UTC (rev 38218)
@@ -873,7 +873,7 @@
int sec = 0;
int frame = 0;
int result = SI_LOOP; /* small hack */
- int cue;
+ int cue = 0;
while (result == SI_LOOP)
result = sfx_poll_specific(&s->sound, handle, &cue);
Modified: scummvm/trunk/engines/sci/engine/scriptconsole.c
===================================================================
--- scummvm/trunk/engines/sci/engine/scriptconsole.c 2009-02-15 10:21:22 UTC (rev 38217)
+++ scummvm/trunk/engines/sci/engine/scriptconsole.c 2009-02-15 10:24:32 UTC (rev 38218)
@@ -1228,7 +1228,7 @@
for (; resnr <= resmax; resnr++)
if ((script = scir_find_resource(s->resmgr, restype, resnr, 0)))
{
- int seeker = 0, seekerold = 0;
+ unsigned int seeker = 0, seekerold = 0;
int comppos = 0;
int output_script_name = 0;
Modified: scummvm/trunk/engines/sci/engine/scriptdebug.c
===================================================================
--- scummvm/trunk/engines/sci/engine/scriptdebug.c 2009-02-15 10:21:22 UTC (rev 38217)
+++ scummvm/trunk/engines/sci/engine/scriptdebug.c 2009-02-15 10:24:32 UTC (rev 38218)
@@ -155,7 +155,7 @@
size);
int cmd;
int pleft;
- int firstarg;
+ int firstarg = 0;
int i;
int blanks = 0;
Modified: scummvm/trunk/engines/sci/engine/seg_manager.c
===================================================================
--- scummvm/trunk/engines/sci/engine/seg_manager.c 2009-02-15 10:21:22 UTC (rev 38217)
+++ scummvm/trunk/engines/sci/engine/seg_manager.c 2009-02-15 10:24:32 UTC (rev 38218)
@@ -92,7 +92,7 @@
find_free_id(seg_manager_t *self, int *id)
{
char was_added = 0;
- int retval;
+ int retval = 0;
while (!was_added) {
retval = int_hash_map_check_value(self->id_seg_map, self->reserved_id,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list