tests: Remove redundant return statements

When the execution reaches the end of the main functions, they implicitly return a successful status.
This commit is contained in:
Tibor Nagy
2019-02-20 21:09:03 +01:00
parent c19cc8b731
commit 4381bb2a22
58 changed files with 5 additions and 110 deletions
-3
View File
@@ -1,6 +1,5 @@
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
int main(void) {
printf("%s\n", strstr("In relibc we trust", "rust"));
@@ -8,6 +7,4 @@ int main(void) {
printf("%s\n", strstr("In relibc we trust", "bugs"));
printf("%s\n", strstr("IN RELIBC WE TRUST", "rust"));
printf("%s\n", strcasestr("IN RELIBC WE TRUST", "rust"));
return EXIT_SUCCESS;
}