aboutsummaryrefslogtreecommitdiffstats
path: root/rdoff
diff options
context:
space:
mode:
authorsezero <sezero@users.sourceforge.net>2019-10-04 23:04:32 +0300
committerH. Peter Anvin (Intel) <hpa@zytor.com>2020-07-06 13:20:09 -0700
commitc0ab5a8be9f91e7485e64673b498e724b03c73df (patch)
tree49b4cedd26cf73159cc2f440fc99547140c0aae9 /rdoff
parent741967033eb8022b9b9b82f6b2ee3c90d670627e (diff)
downloadnasm-c0ab5a8be9f91e7485e64673b498e724b03c73df.tar.gz
nasm-c0ab5a8be9f91e7485e64673b498e724b03c73df.tar.xz
nasm-c0ab5a8be9f91e7485e64673b498e724b03c73df.zip
rdflib.c (main): change incorrect break statement to /* fall through */
Commit 6d36d8684 added a wrong break statement to case 'x' in rdflib.c::main() at line235. That case 'x' must "fall through" into case 't' which re-checks the argument. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Diffstat (limited to 'rdoff')
-rw-r--r--rdoff/rdflib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rdoff/rdflib.c b/rdoff/rdflib.c
index ab03e0b8..6a5df789 100644
--- a/rdoff/rdflib.c
+++ b/rdoff/rdflib.c
@@ -234,7 +234,7 @@ int main(int argc, char **argv)
fprintf(stderr, "rdflib: required parameter missing\n");
exit(1);
}
- break;
+ /* fall through */
case 't':
fp = fopen(argv[2], "rb");
if (!fp) {