aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <k@airen-no-jikken.icu>2019-06-04 13:57:14 -0700
committerkatherine <k@airen-no-jikken.icu>2019-06-04 13:57:14 -0700
commit3fde8d9f569953899dca6b984965268a7aa60a04 (patch)
tree2c5629cf480673e9610fa80f38ef095ea34b85c8
parent879d526d7ee7ee7a876f284dac76075e7a7267ae (diff)
downloadsimple-opt-3fde8d9f569953899dca6b984965268a7aa60a04.tar.gz
trim extraneous semicolons
not sure why those happened
-rw-r--r--simple-opt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/simple-opt.h b/simple-opt.h
index fbd2d83..d85ee3d 100644
--- a/simple-opt.h
+++ b/simple-opt.h
@@ -429,7 +429,7 @@ opt_copy_and_return:
static int sub_simple_opt_wrap_print(FILE *f, unsigned width, unsigned col,
unsigned line_start, const char *s)
{
- bool add_newline = false, first_word = true, first_line = true;;
+ bool add_newline = false, first_word = true, first_line = true;
unsigned i, j, word_start, word_end;
if (width != 0 && line_start >= width) {
@@ -725,11 +725,11 @@ static void simple_opt_print_usage(FILE *f, unsigned width,
/* print option description */
if (options[i].description != NULL) {
if (col < width) {
- fprintf(f, " ");;
+ fprintf(f, " ");
col++;
}
if (col < width) {
- fprintf(f, " ");;
+ fprintf(f, " ");
col++;
}
sub_simple_opt_wrap_print(f, width, col, desc_line_start,