remove useless c->next = NULL
This commit is contained in:
parent
a192aa3113
commit
49e239fbb1
2
ii.c
2
ii.c
@ -234,7 +234,7 @@ channel_new(const char *name)
|
|||||||
fprintf(stderr, "%s: calloc: %s\n", argv0, strerror(errno));
|
fprintf(stderr, "%s: calloc: %s\n", argv0, strerror(errno));
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
c->next = NULL;
|
|
||||||
strlcpy(c->name, name, sizeof(c->name));
|
strlcpy(c->name, name, sizeof(c->name));
|
||||||
channel_normalize_name(c->name);
|
channel_normalize_name(c->name);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user