aboutsummaryrefslogtreecommitdiffstats
path: root/sway/config/output.c
diff options
context:
space:
mode:
authorLibravatar Rouven Czerwinski <rouven@czerwinskis.de>2019-02-26 20:49:42 +0100
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-02-27 00:35:51 -0500
commitd016848bcee829a9db09ed640d075bcff914f06b (patch)
tree6cde5dc13bb9021488d1a1ce04459064c4781acd /sway/config/output.c
parentcursor: intitialize sx and sy to zero (diff)
downloadsway-d016848bcee829a9db09ed640d075bcff914f06b.tar.gz
sway-d016848bcee829a9db09ed640d075bcff914f06b.tar.zst
sway-d016848bcee829a9db09ed640d075bcff914f06b.zip
config: remove double assignement to result in get_output_config
Diffstat (limited to 'sway/config/output.c')
-rw-r--r--sway/config/output.c2
1 files changed, 1 insertions, 1 deletions
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,
378 oc_id = config->output_configs->items[i]; 378 oc_id = config->output_configs->items[i];
379 } 379 }
380 380
381 struct output_config *result = result = new_output_config("temp"); 381 struct output_config *result = new_output_config("temp");
382 if (config->reloading) { 382 if (config->reloading) {
383 default_output_config(result, sway_output->wlr_output); 383 default_output_config(result, sway_output->wlr_output);
384 } 384 }