Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

Commit

Permalink
Merge "Remove redundant exit() calls after usage()"
Browse files Browse the repository at this point in the history
From Thiago Farina:

"usage() function already calls exit(EXIT_FAILURE) at its end."
  • Loading branch information
penberg committed Jul 23, 2015
2 parents a7777f6 + 96ca062 commit fe21a82
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion tools/cert/micex/forts.c
Expand Up @@ -581,7 +581,6 @@ int main(int argc, char *argv[])
break;
default: /* '?' */
usage();
exit(EXIT_FAILURE);
}
}

Expand Down
1 change: 0 additions & 1 deletion tools/fast/fast_client.c
Expand Up @@ -346,7 +346,6 @@ int main(int argc, char *argv[])
break;
default: /* '?' */
usage();
exit(EXIT_FAILURE);
}
}

Expand Down
1 change: 0 additions & 1 deletion tools/fast/fast_parser.c
Expand Up @@ -310,7 +310,6 @@ int main(int argc, char *argv[])
break;
default: /* '?' */
usage();
exit(EXIT_FAILURE);
}
}

Expand Down
1 change: 0 additions & 1 deletion tools/fast/fast_server.c
Expand Up @@ -326,7 +326,6 @@ int main(int argc, char *argv[])
break;
default: /* '?' */
usage();
exit(EXIT_FAILURE);
}
}

Expand Down
1 change: 0 additions & 1 deletion tools/fix/fix_client.c
Expand Up @@ -514,7 +514,6 @@ int main(int argc, char *argv[])
break;
default: /* '?' */
usage();
exit(EXIT_FAILURE);
}
}

Expand Down
1 change: 0 additions & 1 deletion tools/fix/fix_server.c
Expand Up @@ -343,7 +343,6 @@ int main(int argc, char *argv[])
break;
default: /* '?' */
usage();
exit(EXIT_FAILURE);
}
}

Expand Down
1 change: 0 additions & 1 deletion tools/sim/trader.c
Expand Up @@ -134,7 +134,6 @@ int main(int argc, char *argv[])
break;
default: /* '?' */
usage();
exit(EXIT_FAILURE);
}
}

Expand Down

0 comments on commit fe21a82

Please sign in to comment.