mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 07:53:36 +00:00
GLK: HUGO: Fix Duplicated Branch GCC Compiler Warning
This is emitted if -Wduplicated-branches is passed.
This commit is contained in:
parent
db951307d8
commit
9f900fac32
@ -1037,9 +1037,14 @@ void Hugo::RunPrint() {
|
||||
{
|
||||
if (!hexnumber)
|
||||
{
|
||||
// FIXME: This code has identical branch code since the cast to unsigned int of a
|
||||
// is reversed by passing this to itoa as this has the function signature of:
|
||||
// char * itoa(int value, char *str, int base)
|
||||
#if 0
|
||||
if (capital)
|
||||
itoa((unsigned int)a, line, 10);
|
||||
else
|
||||
#endif
|
||||
itoa(a, line, 10);
|
||||
capital = 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user