diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-03-22 18:19:18 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-03-22 22:20:30 -0400 |
commit | 9474f277a7ed4f3536b721cea721b25b30183d02 (patch) | |
tree | d82f5b184fdf54c478d9092591073a8a6773d3e6 /src | |
parent | 7fe5152be4e9dc4f9aa707eb5640c35aad8ecbce (diff) | |
download | stasis-9474f277a7ed4f3536b721cea721b25b30183d02.tar.gz |
Remove unused pointer
Diffstat (limited to 'src')
-rw-r--r-- | src/strlist.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/strlist.c b/src/strlist.c index bcb71dd..c2250ee 100644 --- a/src/strlist.c +++ b/src/strlist.c @@ -69,7 +69,6 @@ int strlist_append_file(struct StrList *pStrList, char *_path, ReaderFn *readerF int retval = 0; char *path = NULL; char *filename = NULL; - char *from_file_tmpdir = NULL; char **data = NULL; if (readerFn == NULL) { @@ -104,10 +103,6 @@ int strlist_append_file(struct StrList *pStrList, char *_path, ReaderFn *readerF free(data); fatal: - if (from_file_tmpdir != NULL) { - rmtree(from_file_tmpdir); - guard_free(from_file_tmpdir); - } if (filename != NULL) { guard_free(filename); } |