summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAssaf Gordon <assafgordon@gmail.com>2017-08-22 20:35:10 (GMT)
committerAssaf Gordon <assafgordon@gmail.com>2017-08-22 20:35:10 (GMT)
commitf6c30b802e0497deed80645823c6e39d835025f1 (patch)
treea4e75e4db099f02dbb1bf5370f3e50acddf21512
parentc69464caa5eb6b2b29a655201cbfd37fb7569bc5 (diff)
downloaddatamash-f6c30b802e0497deed80645823c6e39d835025f1.zip
datamash-f6c30b802e0497deed80645823c6e39d835025f1.tar.gz
datamash-f6c30b802e0497deed80645823c6e39d835025f1.tar.bz2
maint: fix 'syntax-check' errors
* src/crosstab.c: space-before-parens. * src/datamash.c: double-word.
-rw-r--r--src/crosstab.c4
-rw-r--r--src/datamash.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/crosstab.c b/src/crosstab.c
index 05e014a..86a304b 100644
--- a/src/crosstab.c
+++ b/src/crosstab.c
@@ -182,8 +182,8 @@ crosstab_print (const struct crosstab* ct)
print_line_separator ();
}
- IF_LINT(free (rows_list));
- IF_LINT(free (cols_list));
+ IF_LINT (free (rows_list));
+ IF_LINT (free (cols_list));
}
/* vim: set cinoptions=>4,n-2,{2,^-2,:2,=2,g0,h2,p5,t0,+2,(0,u0,w1,m1: */
/* vim: set shiftwidth=2: */
diff --git a/src/datamash.c b/src/datamash.c
index 570f885..0fec000 100644
--- a/src/datamash.c
+++ b/src/datamash.c
@@ -859,7 +859,7 @@ tabular_check_file ()
(uintmax_t)n_fields);
}
- /* Check if the the number of fields changed from one line to the next
+ /* Check if the number of fields changed from one line to the next
(only if no expected number of fields specified on the command line).*/
else if (line_number>1 && num_fields != prev_num_fields)
{