summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2022-07-12 14:30:41 +0100
committerFurkan Sahin <furkan-dev@proton.me>2022-07-12 14:30:41 +0100
commit5d1a43dace8caef2968024f7fd1b8cf756669ce0 (patch)
tree9d5e571795668dafe6bd5db689c8b3c4942ac954
parent3eaa1aab5878f461d203293f1a82adad8de7598d (diff)
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);