mirror of
https://github.com/swaywm/sway.git
synced 2024-11-11 13:04:11 +01:00
config: remove double assignement to result in get_output_config
This commit is contained in:
parent
4e028dba47
commit
d016848bce
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user