diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2019-02-26 20:49:42 +0100 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2019-02-26 20:49:42 +0100 |
| commit | 8bb7da4c4022b6b0c2f521e2f6f2ef98673e5571 (patch) | |
| tree | 6cde5dc13bb9021488d1a1ce04459064c4781acd | |
| parent | 4e5a1ccbdb31264838a56870b66bd745f368089d (diff) | |
config: remove double assignement to result in get_output_config
| -rw-r--r-- | sway/config/output.c | 2 |
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, 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); } |
