Skip to content

Commit

Permalink
Use MakeString instead of C_NEW_STRING
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin authored and wilfwilson committed Jun 5, 2019
1 parent 0cdaae9 commit fd79020
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/homos.c
Original file line number Diff line number Diff line change
Expand Up @@ -1926,8 +1926,7 @@ Obj FuncHomomorphismDigraphsFinder(Obj self, Obj args) {
}
}

Obj str;
C_NEW_STRING(str, 26, "HomomorphismDigraphsFinder");
Obj str = MakeString("HomomorphismDigraphsFinder");
if (!IS_LIST(colors1_obj) && colors1_obj != Fail) {
ErrorQuit("the 10th argument (colors1) must be a list or fail, not %s",
(Int) TNAM_OBJ(colors1_obj),
Expand Down

0 comments on commit fd79020

Please sign in to comment.