aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2023-11-20 10:02:50 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2023-11-20 10:02:50 -0500
commitd377b6fd45fbffe3d57ce3486853938e45bebaf4 (patch)
tree8533bd04039ec6088a95a17c816bb966eddcae82 /src
parent463c541667f200e54847d5045ec034644dcf9490 (diff)
downloadstasis-d377b6fd45fbffe3d57ce3486853938e45bebaf4.tar.gz
Remove unused variables
Diffstat (limited to 'src')
-rw-r--r--src/strlist.c4
1 files changed, 0 insertions, 4 deletions
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);
}