/in/foo.c: In function 'FindMaxNeg':
/in/foo.c:5:9: warning: variable 'minPos' set but not used [-Wunused-but-set-variable]
int minPos;
^~~~~~
/in/foo.c:25:12: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
return max;
^~~
/in/foo.c: In function 'main':
/in/foo.c:57:9: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d", minPosB);
^~~~~~~~~~~~~~~~~~~~~
/in/foo.c:51:9: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d ", minPosA);
^~~~~~~~~~~~~~~~~~~~~~