mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-05 00:36:57 +00:00
Silenced some MSVC warnings
svn-id: r38218
This commit is contained in:
parent
5e2def9ca5
commit
89cad681d7
@ -1516,7 +1516,7 @@ dijkstra(pf_state_t *s)
|
||||
/* 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 */
|
||||
|
@ -873,7 +873,7 @@ kDoSound_SCI1(state_t *s, int funct_nr, int argc, reg_t *argv)
|
||||
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);
|
||||
|
@ -1228,7 +1228,7 @@ c_hexgrep (state_t * s)
|
||||
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;
|
||||
|
||||
|
@ -155,7 +155,7 @@ midi_hexdump(byte *data, int size, int notational_offset)
|
||||
size);
|
||||
int cmd;
|
||||
int pleft;
|
||||
int firstarg;
|
||||
int firstarg = 0;
|
||||
int i;
|
||||
int blanks = 0;
|
||||
|
||||
|
@ -92,7 +92,7 @@ static inline int
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user