aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Riehs <tristan.riehs@inria.fr>2025-11-16 09:35:08 +0100
committerTristan Riehs <tristan.riehs@inria.fr>2025-11-16 09:35:08 +0100
commit900c967912064f5b9363de0f1ee7130dce2a0cd2 (patch)
tree7bf0a44201abc42de84137fbd2215fb3cdb31b3f /src
parentb684249ec8cb1be64bab82cedc0a053013cb658d (diff)
Make first call to realloc safe
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 1b34d53..d19cffa 100644
--- a/src/main.c
+++ b/src/main.c
@@ -439,7 +439,7 @@ static void ftag_query(int argc, char **argv)
}
char *after_date __attribute__((unused));
char *before_date __attribute__((unused));
- char **tags;
+ char **tags = NULL;
int tag_count = 0;
while (argc > 0) {
if (strcmp(argv[0], "-a") == 0) {