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.
This commit is contained in:
zkldi 2022-07-12 14:30:41 +01:00 committed by Simon Ser
parent b69d637f7a
commit 8d8a21c9c3

View file

@ -294,7 +294,7 @@ int main(int argc, char **argv) {
case 'V': // verbose case 'V': // verbose
verbose = true; verbose = true;
break; break;
case 'p': ; // --get-socketpath case 'p': // --get-socketpath
if (getenv("SWAYSOCK")) { if (getenv("SWAYSOCK")) {
printf("%s\n", getenv("SWAYSOCK")); printf("%s\n", getenv("SWAYSOCK"));
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);