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