* libltdl/ltdl.c (lt_remove_dlloader): typo, s/=/==/g.

This commit is contained in:
Gary V. Vaughan 2000-02-21 22:09:36 +00:00
parent 7b0532e642
commit b87267f513
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,8 @@
2000-02-21 Gary V. Vaughan <gary@oranda.demon.co.uk>
* libltdl/ltdl.c (lt_dlinit): removed unused variable, `loader'.
* libltdl/ltdl.c (lt_remove_dlloader): typo, s/=/==/g.
2000-02-03 Gary V. Vaughan <gary@oranda.demon.co.uk>

View File

@ -803,7 +803,6 @@ int
lt_dlinit LTDL_PARAMS((void))
{
/* initialize libltdl */
lt_dlloader_t **loader = &loaders;
int errors = 0;
if (initialized) { /* Initialize only at first call. */
@ -1878,7 +1877,7 @@ lt_remove_dlloader (loader_name)
/* Fail if there are any open modules which use this loader. */
for (handle = handles; handle; handle = handle->next)
if (handle->loader = place) {
if (handle->loader == place) {
last_error = LT_DLSTRERROR(REMOVE_LOADER);
return 1;
}