rtmp-services: Remove unnecessary null check

上级 750f0f2e
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册