/in/foo.c: In function 'mid':
/in/foo.c:26:9: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(x<y && x>z || x<z && x>y) x2=x;
~~~~^~~~~~
/in/foo.c:27:9: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(y<x && y>z || y<z && y>x) x2=y;
~~~~^~~~~~
/in/foo.c:28:9: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(z<y && z>x || z<x && z>y) x2=z;
~~~~^~~~~~
/in/foo.c: In function 'max':
/in/foo.c:21:9: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized]
return x1;
^~
/in/foo.c: In function 'mid':
/in/foo.c:30:9: warning: 'x2' may be used uninitialized in this function [-Wmaybe-uninitialized]
return x2;
^~
/in/foo.c: In function 'main':
/in/foo.c:12:2: warning: 'x3' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d %d %d",x1,x2,x3);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:12:2: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized]
/in/foo.c: In function 'min':
/in/foo.c:38:9: warning: 'x3' may be used uninitialized in this function [-Wmaybe-uninitialized]
return x3;
^~