From: nasm-bot f. H. P. A. <hp...@li...> - 2015-01-05 23:24:32
|
Commit-ID: 12c0702824a83d371263b6ad07c6b047b12d686d Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=12c0702824a83d371263b6ad07c6b047b12d686d Author: H. Peter Anvin <hp...@li...> AuthorDate: Mon, 5 Jan 2015 15:21:43 -0800 Committer: H. Peter Anvin <hp...@li...> CommitDate: Mon, 5 Jan 2015 15:21:43 -0800 rdoff/rdlib.c: Remove unused function rdl_close() The function rdl_close() is never used, remove it. Signed-off-by: H. Peter Anvin <hp...@li...> --- rdoff/rdlib.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/rdoff/rdlib.c b/rdoff/rdlib.c index cf8d5e7..7f8ddac 100644 --- a/rdoff/rdlib.c +++ b/rdoff/rdlib.c @@ -126,13 +126,6 @@ int rdl_open(struct librarynode *lib, const char *name) return 0; } -static void rdl_close(struct librarynode *lib) -{ - if (lib->fp) - fclose(lib->fp); - free(lib->name); -} - int rdl_searchlib(struct librarynode *lib, const char *label, rdffile * f) { char buf[512]; |