summaryrefslogtreecommitdiffstats
path: root/usr.bin/ctags
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>1999-07-02 15:26:53 +0000
committerbillf <billf@FreeBSD.org>1999-07-02 15:26:53 +0000
commit267994fe474e3c7ff54fbed4fb42c4fa725fe7e8 (patch)
treecafdde11020f95e02e7b785efb248ac62fbeb515 /usr.bin/ctags
parent4ba1aeb45483ea5367f4a84d015dc6a808c0f5dc (diff)
downloadFreeBSD-src-267994fe474e3c7ff54fbed4fb42c4fa725fe7e8.zip
FreeBSD-src-267994fe474e3c7ff54fbed4fb42c4fa725fe7e8.tar.gz
Add braces to avoid ambigious else.
Diffstat (limited to 'usr.bin/ctags')
-rw-r--r--usr.bin/ctags/ctags.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ctags/ctags.c b/usr.bin/ctags/ctags.c
index dc44ba6..466f285 100644
--- a/usr.bin/ctags/ctags.c
+++ b/usr.bin/ctags/ctags.c
@@ -146,7 +146,7 @@ main(argc, argv)
(void)fclose(inf);
}
- if (head)
+ if (head) {
if (xflag)
put_entries(head);
else {
@@ -170,6 +170,7 @@ main(argc, argv)
system(cmd);
}
}
+ }
exit(exit_val);
}
OpenPOWER on IntegriCloud