lib: remove dead code in be_local and be_package

Signed-off-by: Dave Reisner <d@falconindy.com>
This commit is contained in:
Dave Reisner 2011-03-25 11:58:16 -04:00 committed by Dan McGee
parent a6c05458d4
commit fdcfcf28a2
2 changed files with 0 additions and 15 deletions

View File

@ -256,13 +256,6 @@ static size_t _cache_changelog_read(void *ptr, size_t size,
return fread(ptr, 1, size, (FILE *)fp);
}
/*
static int _cache_changelog_feof(const pmpkg_t *pkg, void *fp)
{
return feof((FILE*)fp);
}
*/
/**
* Close a package changelog for reading. Similar to fclose in functionality,
* except that the 'file stream' is from the database.

View File

@ -101,14 +101,6 @@ static size_t _package_changelog_read(void *ptr, size_t size,
}
}
/*
static int _package_changelog_feof(const pmpkg_t *pkg, void *fp)
{
// note: this doesn't quite work, no feof in libarchive
return archive_read_data((struct archive*)fp, NULL, 0);
}
*/
/**
* Close a package changelog for reading. Similar to fclose in functionality,
* except that the 'file stream' is from an archive.