From d016848bcee829a9db09ed640d075bcff914f06b Mon Sep 17 00:00:00 2001 From: Rouven Czerwinski Date: Tue, 26 Feb 2019 20:49:42 +0100 Subject: config: remove double assignement to result in get_output_config --- sway/config/output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway') diff --git a/sway/config/output.c b/sway/config/output.c index e7fbad83..cb889b3e 100644 --- a/sway/config/output.c +++ b/sway/config/output.c @@ -378,7 +378,7 @@ static struct output_config *get_output_config(char *identifier, 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) { default_output_config(result, sway_output->wlr_output); } -- cgit v1.2.3