config: remove double assignement to result in get_output_config

This commit is contained in:
Rouven Czerwinski 2019-02-26 20:49:42 +01:00 committed by Drew DeVault
parent a95c4abd66
commit e91349f2a0

View file

@ -378,7 +378,7 @@ static struct output_config *get_output_config(char *identifier,
oc_id = config->output_configs->items[i]; oc_id = config->output_configs->items[i];
} }
struct output_config *result = result = new_output_config("temp"); struct output_config *result = new_output_config("temp");
if (config->reloading) { if (config->reloading) {
default_output_config(result, sway_output->wlr_output); default_output_config(result, sway_output->wlr_output);
} }