From d377b6fd45fbffe3d57ce3486853938e45bebaf4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 20 Nov 2023 10:02:50 -0500 Subject: Remove unused variables --- src/strlist.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/strlist.c b/src/strlist.c index d228405..69f1a94 100644 --- a/src/strlist.c +++ b/src/strlist.c @@ -66,7 +66,6 @@ static int reader_strlist_append_file(size_t lineno, char **line) { */ int strlist_append_file(struct StrList *pStrList, char *_path, ReaderFn *readerFn) { int retval = 0; - int is_remote = 0; char *path = NULL; char *filename = NULL; char *from_file_tmpdir = NULL; @@ -249,12 +248,9 @@ int strlist_cmp(struct StrList *a, struct StrList *b) { * @param mode Available modes: `STRLIST_DEFAULT` (alphabetic), `STRLIST_ASC` (ascending), `STRLIST_DSC` (descending) */ void strlist_sort(struct StrList *pStrList, unsigned int mode) { - void *fn = NULL; - if (pStrList == NULL) { return; } - strsort(pStrList->data, mode); } -- cgit