commit 8d8a21c9c321fa41b033caf9b5b62cdd584483c1
parent b69d637f7a34e239e48a4267ae94a5e7087b5834
Author: zkldi <ktchidev@gmail.com>
Date: Tue, 12 Jul 2022 14:30:41 +0100
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.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);