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