Author
anonymous
over 8 years ago
Language
Compiler
Options
Author
anonymous
over 8 years ago
$ prog.cc: In function 'MType* f(MType*, int)':
prog.cc:17:5: warning: suggest braces around empty body in an 'else' statement [-Wempty-body]
;
^
prog.cc:12:11: warning: address of local variable 'tmp' returned [-Wreturn-local-addr]
MType tmp;
^~~
prog.cc:11:33: warning: unused parameter 'size' [-Wunused-parameter]
static MType *f(MType *val, int size){
^~~~
f(0, 0) == 0: true
Exit Code:
0