From 14c949c1c7b8a56de45636ed643bcec3d670c2ec Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Fri, 13 Jul 2018 21:23:18 -0400 Subject: [PATCH] Remove leftover parens --- swaylock/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swaylock/main.c b/swaylock/main.c index fd838ec3..4ca53b84 100644 --- a/swaylock/main.c +++ b/swaylock/main.c @@ -716,7 +716,7 @@ static char *get_config_path(void) { wordexp_t p; char *path; - for (size_t i = 0; i < (sizeof(config_paths) / sizeof(char *)); ++i) { + for (size_t i = 0; i < sizeof(config_paths) / sizeof(char *); ++i) { if (wordexp(config_paths[i], &p, 0) == 0) { path = strdup(p.we_wordv[0]); wordfree(&p);