rtmp-services: Remove unnecessary null check
This commit is contained in:
parent
750f0f2ea4
commit
8fdbf60228
@ -328,7 +328,7 @@ static void fill_servers(obs_property_t *servers_prop, json_t *service,
|
||||
obs_property_list_add_string(servers_prop,
|
||||
obs_module_text("Server.Auto"), "auto");
|
||||
}
|
||||
if (name && strcmp(name, "Twitch") == 0) {
|
||||
if (strcmp(name, "Twitch") == 0) {
|
||||
if (fill_twitch_servers(servers_prop))
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user