foo.cpp: In function 'int f2()':
foo.cpp:214:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
foo.cpp: In function 'int f4()':
foo.cpp:366:13: warning: unused variable 'k' [-Wunused-variable]
int i,j,k,n,m;
^
foo.cpp:396:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
foo.cpp: In function 'int f5()':
foo.cpp:398:13: warning: unused variable 'k' [-Wunused-variable]
int i,j,k,n,m;
^
foo.cpp:398:17: warning: unused variable 'm' [-Wunused-variable]
int i,j,k,n,m;
^
foo.cpp:411:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
foo.cpp: In function 'int f6()':
foo.cpp:413:9: warning: unused variable 'i' [-Wunused-variable]
int i,j,k,n,m;
^
foo.cpp:413:11: warning: unused variable 'j' [-Wunused-variable]
int i,j,k,n,m;
^
foo.cpp:413:13: warning: unused variable 'k' [-Wunused-variable]
int i,j,k,n,m;
^
foo.cpp:413:17: warning: unused variable 'm' [-Wunused-variable]
int i,j,k,n,m;
^
foo.cpp: In function 'int f7()':
foo.cpp:426:11: warning: unused variable 'j' [-Wunused-variable]
int i,j,k,n,m;
^
foo.cpp:426:13: warning: unused variable 'k' [-Wunused-variable]
int i,j,k,n,m;
^
foo.cpp:426:17: warning: unused variable 'm' [-Wunused-variable]
int i,j,k,n,m;
^
foo.cpp: In function 'int f8()':
foo.cpp:471:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
foo.cpp: In function 'int f9()':
foo.cpp:492:22: warning: value computed is not used [-Wunused-value]
rand()%5001+5000;
^
foo.cpp: In function 'int f10()':
foo.cpp:537:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
foo.cpp: In function 'int f11()':
foo.cpp:539:9: warning: unused variable 'i' [-Wunused-variable]
int i,j,k,n,m;
^
foo.cpp:539:11: warning: unused variable 'j' [-Wunused-variable]
int i,j,k,n,m;
^
foo.cpp:539:13: warning: unused variable 'k' [-Wunused-variable]
int i,j,k,n,m;
^
foo.cpp:539:17: warning: unused variable 'm' [-Wunused-variable]
int i,j,k,n,m;
^
foo.cpp: In function 'int f12()':
foo.cpp:623:9: warning: unused variable 'i' [-Wunused-variable]
int i,j,k,n,m;
^
foo.cpp: In function 'int f13()':
foo.cpp:652:9: warning: unused variable 'i' [-Wunused-variable]
int i,j,n,m;
^
foo.cpp:652:15: warning: unused variable 'm' [-Wunused-variable]
int i,j,n,m;
^
foo.cpp: In function 'int f14()':
foo.cpp:692:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
foo.cpp: In function 'int f0()':
foo.cpp:699:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
foo.cpp: In function 'int f1()':
foo.cpp:180:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
foo.cpp: In function 'int f3()':
foo.cpp:364:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
foo.cpp: In function 'int f6()':
foo.cpp:424:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
foo.cpp: In function 'int f7()':
foo.cpp:463:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
foo.cpp: In function 'int f9()':
foo.cpp:501:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
foo.cpp: In function 'int f11()':
foo.cpp:621:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
foo.cpp: In function 'int f12()':
foo.cpp:650:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
foo.cpp: In function 'int f13()':
foo.cpp:686:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
foo.cpp: In function 'int f9()':
foo.cpp:494:24: warning: 'j' may be used uninitialized i