/in/foo.c: In function 'main':
/in/foo.c:5:14: warning: unused variable 'x' [-Wunused-variable]
int m,n,i,j,x;
^
/in/foo.c:5:12: warning: unused variable 'j' [-Wunused-variable]
int m,n,i,j,x;
^
/in/foo.c:27:5: warning: 'amin' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[i]<amin && a[i]>0)
^
/in/foo.c:18:10: note: 'amin' was declared here
int i,j,amin;
^~~~
/in/foo.c:27:5: warning: 'amin' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[i]<amin && a[i]>0)
^
/in/foo.c:18:10: note: 'amin' was declared here
int i,j,amin;
^~~~
/in/foo.c:13:2: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d %d",A(a,m),A(b,n));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:13:2: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]
/in/foo.c: In function 'A':
/in/foo.c:27:5: warning: 'amin' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[i]<amin && a[i]>0)
^
/in/foo.c:32:9: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]
return j;
^