From 8fdbf60228cc15e80762effd469571ff8bc8cf7c Mon Sep 17 00:00:00 2001 From: Richard Stanway Date: Sat, 11 Aug 2018 02:54:50 +0200 Subject: [PATCH] rtmp-services: Remove unnecessary null check --- plugins/rtmp-services/rtmp-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/rtmp-services/rtmp-common.c b/plugins/rtmp-services/rtmp-common.c index aa328f7fa..ded8676d5 100644 --- a/plugins/rtmp-services/rtmp-common.c +++ b/plugins/rtmp-services/rtmp-common.c @@ -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; }