Mercurial > hg > sidinfo
changeset 339:923e63b9653b
Cleanup.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 13 Jan 2020 15:14:16 +0200 |
parents | b71c2dda6c6b |
children | 6f8c431a3040 |
files | sidinfo.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sidinfo.c Mon Jan 13 14:47:39 2020 +0200 +++ b/sidinfo.c Mon Jan 13 15:14:16 2020 +0200 @@ -1117,7 +1117,7 @@ BOOL argHandleFile(char *path) { - char *pattern = NULL, *filename = NULL, *pt, *npath; + char *pattern, *filename, *pt, *npath; BOOL ret; if ((npath = th_strdup(path)) == NULL) @@ -1137,6 +1137,7 @@ } // Check if we have glob pattern chars + pattern = filename = NULL; if (pt != NULL && *pt != 0) { if (strchr(pt, '*') || strchr(pt, '?'))