aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzkldi <ktchidev@gmail.com>2022-07-12 14:30:41 +0100
committerSimon Ser <contact@emersion.fr>2022-07-12 16:07:51 +0200
commit8d8a21c9c321fa41b033caf9b5b62cdd584483c1 (patch)
tree9d5e571795668dafe6bd5db689c8b3c4942ac954
parentb69d637f7a34e239e48a4267ae94a5e7087b5834 (diff)
downloadsway-8d8a21c9c321fa41b033caf9b5b62cdd584483c1.tar.xz
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.c2
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) {
case 'V': // verbose
verbose = true;
break;
- case 'p': ; // --get-socketpath
+ case 'p': // --get-socketpath
if (getenv("SWAYSOCK")) {
printf("%s\n", getenv("SWAYSOCK"));
exit(EXIT_SUCCESS);