/in/foo.c: In function 'FindMaxNeg':
/in/foo.c:14:13: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[i]<0 && a[i]>max)
~~~~~~~^~~~~~~~~~~
/in/foo.c: In function 'main':
/in/foo.c:14:13: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[i]<0 && a[i]>max)
~~~~~~~^~~~~~~~~~~
/in/foo.c:6:6: note: 'max' was declared here
int max;
^~~
/in/foo.c:14:13: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[i]<0 && a[i]>max)
~~~~~~~^~~~~~~~~~~
/in/foo.c:6:6: note: 'max' was declared here
int max;
^~~