]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/ltdl.c (lt_remove_dlloader): typo, s/=/==/g.
authorGary V. Vaughan <gary@gnu.org>
Mon, 21 Feb 2000 22:09:36 +0000 (22:09 +0000)
committerGary V. Vaughan <gary@gnu.org>
Mon, 21 Feb 2000 22:09:36 +0000 (22:09 +0000)
ChangeLog
libltdl/ltdl.c

index 044296ddebb2bb03714b86d900c9878d22fff398..4bd2bd46cc2613f96c162f1cb8a51961d3162208 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
index 4145e2a43c404ae5dc86697f38f61b1095843e2c..eb3a93b382be11290bafbe8b2da790372e5fde98 100644 (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;
                }