* Added volatile keyword to prevent gcc from optimising away.
git-svn-id: svn://svn.zoy.org/elk/trunk@264 55e467fa-43c5-0310-a8a2-de718669efc6
This commit is contained in:
parent
6b44e7be05
commit
4ad539fda8
|
@ -176,7 +176,7 @@ void Elk_Init (int ac, char **av, int init_objects, char *toplevel) {
|
|||
#if defined(CAN_DUMP)
|
||||
# define foo (av[0][0])
|
||||
#else
|
||||
char foo;
|
||||
volatile char foo;
|
||||
#endif
|
||||
|
||||
#ifdef CAN_DUMP
|
||||
|
|
Loading…
Reference in New Issue