style: eliminate useless indirection

* src/relation.h, src/relation.c (relation_digraph): Don't take the
biteetv as a pointer, it is already a pointer (as it's an array).
This commit is contained in:
Akim Demaille
2019-02-24 20:54:37 +01:00
parent ec8142391a
commit d04962f788
4 changed files with 12 additions and 10 deletions

View File

@@ -193,7 +193,7 @@ initialize_goto_follows (void)
}
}
relation_digraph (reads, ngotos, &goto_follows);
relation_digraph (reads, ngotos, goto_follows);
for (goto_number i = 0; i < ngotos; ++i)
free (reads[i]);
@@ -312,7 +312,7 @@ follows_print (FILE* out)
static void
compute_follows (void)
{
relation_digraph (includes, ngotos, &goto_follows);
relation_digraph (includes, ngotos, goto_follows);
if (trace_flag & trace_sets)
follows_print (stderr);
for (goto_number i = 0; i < ngotos; ++i)