Skip to content

Commit a1013a6

Browse files
jkbonfielddaviesrob
authored andcommitted
Fix newer clang warning of unused variable.
1 parent b47469a commit a1013a6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tbx.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,11 @@ int tbx_name2id(tbx_t *tbx, const char *ss)
9393

9494
int tbx_parse1(const tbx_conf_t *conf, int len, char *line, tbx_intv_t *intv)
9595
{
96-
int i, b = 0, id = 1, ncols = 0;
96+
int i, b = 0, id = 1;
9797
char *s;
9898
intv->ss = intv->se = 0; intv->beg = intv->end = -1;
9999
for (i = 0; i <= len; ++i) {
100100
if (line[i] == '\t' || line[i] == 0) {
101-
++ncols;
102101
if (id == conf->sc) {
103102
intv->ss = line + b; intv->se = line + i;
104103
} else if (id == conf->bc) {

0 commit comments

Comments
 (0)