/in/foo.cc: In function 'int FindiMinPos(int*, int)':
/in/foo.cc:17:1: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[i]<min&&a[i]>0)
^~
/in/foo.cc:23:8: warning: 'xb' may be used uninitialized in this function [-Wmaybe-uninitialized]
return xb;
^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:17:1: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[i]<min&&a[i]>0)
^~
/in/foo.cc:5:5: note: 'min' was declared here
int min,xb;
^~~
/in/foo.cc:17:1: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[i]<min&&a[i]>0)
^~
/in/foo.cc:5:5: note: 'min' was declared here
int min,xb;
^~~
/in/foo.cc:34:26: warning: 'xb' may be used uninitialized in this function [-Wmaybe-uninitialized]
cout<<FindiMinPos(a,n1)<<' '<<FindiMinPos(b,n2);
^~~
/in/foo.cc:34:48: warning: 'xb' may be used uninitialized in this function [-Wmaybe-uninitialized]
cout<<FindiMinPos(a,n1)<<' '<<FindiMinPos(b,n2);
^