From 8d8a21c9c321fa41b033caf9b5b62cdd584483c1 Mon Sep 17 00:00:00 2001 From: zkldi Date: Tue, 12 Jul 2022 14:30:41 +0100 Subject: [PATCH] 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. --- sway/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);