/in/foo.cc: In function 'int G(char)':
/in/foo.cc:28:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(c == 'E') return 0; if(c == 'S') return 1;
^~
/in/foo.cc:28:29: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(c == 'E') return 0; if(c == 'S') return 1;
^~
/in/foo.cc:29:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(c == 'W') return 2; if(c == 'N') return 3;
^~
/in/foo.cc:29:29: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(c == 'W') return 2; if(c == 'N') return 3;
^~
/in/foo.cc:30:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^