[client,common] fix superfluous if

This commit is contained in:
akallabeth 2023-11-27 09:09:33 +01:00 committed by akallabeth
parent 32c730faea
commit 5b937fb330

View File

@ -3196,9 +3196,7 @@ static int parse_cert_options(rdpSettings* settings, const COMMAND_LINE_ARGUMENT
} }
free(ptr.p); free(ptr.p);
if (rc) return rc;
return rc;
return 0;
} }
static int parse_mouse_options(rdpSettings* settings, const COMMAND_LINE_ARGUMENT_A* arg) static int parse_mouse_options(rdpSettings* settings, const COMMAND_LINE_ARGUMENT_A* arg)
@ -3240,9 +3238,7 @@ static int parse_mouse_options(rdpSettings* settings, const COMMAND_LINE_ARGUMEN
} }
free(ptr); free(ptr);
if (rc != 0) return rc;
return rc;
return 0;
} }
static int parse_floatbar_options(rdpSettings* settings, const COMMAND_LINE_ARGUMENT_A* arg) static int parse_floatbar_options(rdpSettings* settings, const COMMAND_LINE_ARGUMENT_A* arg)