summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2018-07-13 21:23:18 -0400
committerBrian Ashworth <bosrsf04@gmail.com>2018-07-16 12:17:40 -0400
commit96af98e9769166f672e9ef54d9387d0630ba1646 (patch)
tree82922613ec49f21f43811b3b03fa482959cab3da
parentbd4a8e06733d2bab948765b1c95e87eb4c01cf86 (diff)
Remove leftover parens
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index fd838ec..4ca53b8 100644
--- a/main.c
+++ b/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);