/in/foo.c: In function 'mid':
/in/foo.c:24:9: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(x<y && x>z || x<z && x>y) x2=x;
~~~~^~~~~~
/in/foo.c:25:9: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(y<x && y>z || y<z && y>x) x2=y;
~~~~^~~~~~
/in/foo.c:26: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:19:9: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized]
return x1;
^~
/in/foo.c: In function 'mid':
/in/foo.c:28:9: warning: 'x2' may be used uninitialized in this function [-Wmaybe-uninitialized]
return x2;
^~
/in/foo.c: In function 'main':
/in/foo.c:10:2: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d %d",x2,x1);
^~~~~~~~~~~~~~~~~~~~~