* libltdl/ltdl.c (lt_int_dyld_lib_install_name): Removed unused

variable mh1.
(sys_dyld_close): Removed unused variable size.
This commit is contained in:
Gary V. Vaughan 2003-05-30 15:21:46 +00:00
parent cf3a644d94
commit b6dc76b844
2 changed files with 56 additions and 52 deletions

View File

@ -1,3 +1,9 @@
2003-05-29 Gary V. Vaughan <gary@gnu.org>
* libltdl/ltdl.c (lt_int_dyld_lib_install_name): Removed unused
variable mh1.
(sys_dyld_close): Removed unused variable size.
2003-05-21 Bruno Haible <bruno@clisp.org>
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Add support for

View File

@ -1680,7 +1680,6 @@ static const char* lt_int_dyld_lib_install_name(mh)
int j;
struct load_command *lc;
unsigned long offset = sizeof(struct mach_header);
const struct mach_header *mh1;
const char* retStr=NULL;
for (j = 0; j < mh->ncmds; j++)
{
@ -1820,7 +1819,6 @@ sys_dyld_close (loader_data, module)
{
int retCode = 0;
int flags = 0;
unsigned long size=0;
if (module == (lt_module)-1) return 0;
#ifdef __BIG_ENDIAN__
if (((struct mach_header *)module)->magic == MH_MAGIC)