Skip to content

Commit

Permalink
Trim whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
linas committed Mar 27, 2024
1 parent 6ae4e10 commit 789d8db
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions link-grammar/disjunct-utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,7 @@ Disjunct * catenate_disjuncts(Disjunct *d1, Disjunct *d2)
unsigned int count_disjuncts(Disjunct * d)
{
unsigned int count = 0;
for (; d != NULL; d = d->next)
{
count++;
}
for (; d != NULL; d = d->next) count++;
return count;
}

Expand All @@ -220,6 +217,7 @@ static unsigned int count_connectors(Sentence sent)

return ccnt;
}

/* ============================================================= */

typedef struct disjunct_dup_table_s disjunct_dup_table;
Expand Down

0 comments on commit 789d8db

Please sign in to comment.