diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2025-04-05 13:52:34 +0200 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2025-04-05 13:52:34 +0200 |
commit | 28a92be414145e3b88f73bb3be38e98da0bdebaf (patch) | |
tree | 5b7fd936da126ddcf5ec41b2b8bb4eb4a70d2822 /FICS | |
parent | 7bfabbc90257c65b72af14d4c076f9497a39e1dd (diff) |
Deleted statements
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/utils.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/FICS/utils.c b/FICS/utils.c index 15a0081..4de322a 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -1050,7 +1050,6 @@ PUBLIC int search_directory(char *dir, char *filter, char **buffer, int buffersize) { int cmp; - static char nullify = '\0'; static struct t_dirs *ramdirs = NULL; struct stat statbuf; struct t_dirs** i; @@ -1059,9 +1058,6 @@ search_directory(char *dir, char *filter, char **buffer, int buffersize) t_buffersize = buffersize; if (!stat(dir, &statbuf)) { - if (filter == NULL) // NULL becomes pointer to null string - filter = &nullify; - i = &ramdirs; while (*i) { // Find dir in dir tree |