1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

Compiler food.

main.c: In function ‘RelaunchWindow’:
main.c:461:1: warning: control reaches end of non-void function
[-Wreturn-type]

Actually we can't reach the end of the function because the three
possible cases are Exit(-1), return False and return True.  Of course if
Exit() were ever changed the above statement might become incorrect.
Some compiler food silences the warning.
This commit is contained in:
Iain Patterson
2012-04-04 12:41:38 +01:00
committed by Carlos R. Mafra
parent 056a290a7d
commit aaf934eb2f

View File

@@ -458,6 +458,8 @@ Bool RelaunchWindow(WWindow *wwin)
return True;
}
/* compiler food */
return True;
}
/*