1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2025-02-02 15:07:36 -05:00

Cleanup: Remove redundant check

It's already checked earlier if auth is non-NULL, so this check
here is not needed.
This commit is contained in:
Marvin Scholz 2020-04-19 03:28:21 +02:00
parent 25f54db863
commit 3352ddfb36

View File

@ -924,7 +924,7 @@ static void command_manageauth(client_t *client, source_t *source, admin_format_
xmlDocSetRootElement(doc, node);
if (auth && auth->listuser) {
if (auth->listuser) {
usersnode = xmlNewChild(rolenode, NULL, XMLSTR("users"), NULL);
auth->listuser(auth, usersnode);
}