Ecere Software
/
sdk
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
compiler/ecs: Marking '_class' as unused in symbol loader to avoid warnings
[sdk]
/
compiler
/
ecs
/
ecs.ec
diff --git
a/compiler/ecs/ecs.ec
b/compiler/ecs/ecs.ec
index
920aa8d
..
a583d36
100644
(file)
--- a/
compiler/ecs/ecs.ec
+++ b/
compiler/ecs/ecs.ec
@@
-466,7
+466,7
@@
static void WriteMain(const char * fileName)
}
//if(nonInst || thisAppClass) // We use it all the time to get "Application" for the exit code now...
- f.Puts(" Class _class;\n");
+ f.Puts("
__attribute__((unused))
Class _class;\n");
if(anyMethod)
f.Puts(" Method method;\n");