/in/foo.c: In function 'findmax':
/in/foo.c:17:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (i=1;i<n;i++)
^~~
/in/foo.c:23:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
return c;
^~~~~~
/in/foo.c: In function 'main':
/in/foo.c:10:2: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf ("%d",b);
^~~~~~~~~~~~~~~
/in/foo.c: In function 'findmax':
/in/foo.c:23:10: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
return c;
^