diff options
author | zkldi <ktchidev@gmail.com> | 2022-07-12 14:30:41 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-07-12 16:07:51 +0200 |
commit | 8d8a21c9c321fa41b033caf9b5b62cdd584483c1 (patch) | |
tree | 9d5e571795668dafe6bd5db689c8b3c4942ac954 | |
parent | Remove internal references to DPMS (diff) | |
download | sway-8d8a21c9c321fa41b033caf9b5b62cdd584483c1.tar.gz sway-8d8a21c9c321fa41b033caf9b5b62cdd584483c1.tar.zst sway-8d8a21c9c321fa41b033caf9b5b62cdd584483c1.zip |
fix: remove redundant empty statement in main.c
This semi-colon looks like a typo. Luckily, it has no effect on the code as it's treated as an empty statement leading the switch case.
Really straightforward nitpick change, was just something I was confused by when reading over the code.
-rw-r--r-- | sway/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/main.c b/sway/main.c index a46e5231..85bc2f1c 100644 --- a/sway/main.c +++ b/sway/main.c | |||
@@ -294,7 +294,7 @@ int main(int argc, char **argv) { | |||
294 | case 'V': // verbose | 294 | case 'V': // verbose |
295 | verbose = true; | 295 | verbose = true; |
296 | break; | 296 | break; |
297 | case 'p': ; // --get-socketpath | 297 | case 'p': // --get-socketpath |
298 | if (getenv("SWAYSOCK")) { | 298 | if (getenv("SWAYSOCK")) { |
299 | printf("%s\n", getenv("SWAYSOCK")); | 299 | printf("%s\n", getenv("SWAYSOCK")); |
300 | exit(EXIT_SUCCESS); | 300 | exit(EXIT_SUCCESS); |