Regression tests now pass on z80
[fw/sdcc] / support / regression / tests / args.c
index 1dc2fcf1cbf9f7571e9c674840230a43ae5d08f1..139fa2baac1bdd1c657b6d3c5d498373b34fac59 100644 (file)
 static {type1}
 returnFirstArg({type1} arg1, {type2} arg2, {type3} arg3)
 {
+    UNUSED(arg2);
+    UNUSED(arg3);
     return arg1;
 }
 
 static {type2}
 returnSecondArg({type1} arg1, {type2} arg2, {type3} arg3)
 {
+    UNUSED(arg1);
+    UNUSED(arg3);
     return arg2;
 }
 
 static {type3}
 returnThirdArg({type1} arg1, {type2} arg2, {type3} arg3)
 {
+    UNUSED(arg1);
+    UNUSED(arg2);
     return arg3;
 }