Archived
1
0
Fork 0

fscrawl.c: remove unneeded function

This commit is contained in:
Henrik Hautakoski 2011-01-29 11:13:19 +01:00
parent 383be0aee2
commit c2da15baba

View file

@ -58,18 +58,6 @@ static fs_entry* ftsentcpy(fs_entry *dest, FTSENT *src) {
return NULL;
}
static int update_base(fs_entry *ent, const char *base, unsigned len) {
char *p = realloc(ent->base, len + 1);
if (p) {
memcpy(p, base, len);
p[len] = '\0';
ent->base = p;
return 1;
}
return 0;
}
fscrawl_t fsc_open(const char *path) {
struct __fscrawl *f;