diff options
| author | Tristan Riehs <tristan.riehs@inria.fr> | 2025-11-16 09:35:08 +0100 |
|---|---|---|
| committer | Tristan Riehs <tristan.riehs@inria.fr> | 2025-11-16 09:35:08 +0100 |
| commit | 900c967912064f5b9363de0f1ee7130dce2a0cd2 (patch) | |
| tree | 7bf0a44201abc42de84137fbd2215fb3cdb31b3f /src | |
| parent | b684249ec8cb1be64bab82cedc0a053013cb658d (diff) | |
Make first call to realloc safe
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |
