Opened 16 years ago

Closed 16 years ago

Last modified 6 years ago

#3958 closed defect (fixed)

AGOS - compilation error, uninitialized variable

Reported by: SF/quietust Owned by: bluegr
Priority: normal Component: Engine: AGOS
Version: Keywords:
Cc: Game:

Description

AGOS currently fails to compile due to the following warning (being treated as an error):

scummvm\engines\agos\saveload.cpp(305) : warning C4701: local variable 'i' may be used without having been initialized.

This could potentially happen if the user tries to exit the game (or return to launcher) after bringing up the savegame name prompt but before typing anything - in this case, it looks as if it may also proceed to save the game with whatever character happened to be in the variable 'i'.

Ticket imported from: #2102828. Ticket imported from: bugs/3958.

Change History (3)

comment:1 by bluegr, 16 years ago

Fixed in the latest SVN

comment:2 by bluegr, 16 years ago

Owner: set to bluegr
Resolution: fixed
Status: newclosed

comment:3 by digitall, 6 years ago

Component: Engine: AGOS
Note: See TracTickets for help on using tickets.