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