* 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:
sam 2006-06-14 14:11:36 +00:00
parent 6b44e7be05
commit 4ad539fda8
1 changed files with 1 additions and 1 deletions

View File

@ -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