Remove duplicate assignment
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
committed by
David Gibson
parent
8ce36476ae
commit
9bf20d3896
@@ -144,7 +144,6 @@ int nodename_eq(const char *s1, const char *s2)
|
|||||||
{
|
{
|
||||||
int len = strlen(s2);
|
int len = strlen(s2);
|
||||||
|
|
||||||
len = strlen(s2);
|
|
||||||
if (strncmp(s1, s2, len) != 0)
|
if (strncmp(s1, s2, len) != 0)
|
||||||
return 0;
|
return 0;
|
||||||
if (s1[len] == '\0')
|
if (s1[len] == '\0')
|
||||||
|
|||||||
Reference in New Issue
Block a user