summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2015-08-31 11:24:15 -0400
committerTavian Barnes <tavianator@tavianator.com>2015-08-31 11:24:15 -0400
commite6a306668a5110e59ace562909d9fdd412369656 (patch)
treede9043feb265d72a9fc01daf42e5bbd0b32114d9
parentc2348b1a2e6badc64fb3b36f920f550de262d9b4 (diff)
downloadbfs-e6a306668a5110e59ace562909d9fdd412369656.tar.xz
Don't forget to initialize cl->expr.
-rw-r--r--bfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfs.c b/bfs.c
index 9b01020..febea31 100644
--- a/bfs.c
+++ b/bfs.c
@@ -499,6 +499,7 @@ static cmdline *parse_cmdline(int argc, char *argv[]) {
cl->colors = NULL;
cl->color = isatty(STDOUT_FILENO);
cl->flags = BFTW_RECOVER;
+ cl->expr = NULL;
parser_state state = {
.cl = cl,