Cleaned up empty if.

This commit is contained in:
Armin Novak 2016-03-31 11:01:45 +02:00
parent 50873be062
commit 81450dd37c

View File

@ -2011,11 +2011,7 @@ int freerdp_client_settings_parse_command_line_arguments(rdpSettings* settings,
{
settings->GfxH264 = TRUE;
}
else if (_strnicmp("RFX", arg->Value, 3) == 0)
{
}
else if (arg->Value != NULL)
else if (_strnicmp("RFX", arg->Value, 3) != 0)
return COMMAND_LINE_ERROR;
}
}
@ -2045,10 +2041,7 @@ int freerdp_client_settings_parse_command_line_arguments(rdpSettings* settings,
{
settings->GfxAVC444 = TRUE;
}
else if (_strnicmp("AVC420", arg->Value, 6) == 0)
{
}
else if (arg->Value != NULL)
else if (_strnicmp("AVC420", arg->Value, 6) != 0)
return COMMAND_LINE_ERROR;
}
}