libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: fix shadowed var in slist.c [libtool--devo--1.0--patch-219]


From: Gary V. Vaughan
Subject: FYI: fix shadowed var in slist.c [libtool--devo--1.0--patch-219]
Date: Fri, 1 Oct 2004 11:04:27 +0100 (BST)
User-agent: mailnotify/0.3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Applied to HEAD.

  * looking for address@hidden/libtool--devo--1.0--patch-218 to compare with
  * comparing to address@hidden/libtool--devo--1.0--patch-218
  M  libltdl/slist.c
  M  ChangeLog
  
  * modified files
  
  Index: Changelog
  from  Ralf Wildenhues  <address@hidden>
        * libltdl/slist.c (slist_foreach): result was declared as
        inner variable, shadowing the actually returned value.
  
  --- orig/libltdl/slist.c
  +++ mod/libltdl/slist.c
  @@ -241,7 +241,7 @@
     while (slist)
       {
         SList *next = slist->next;
  -      void *result = (*foreach) (slist, userdata);
  +      result = (*foreach) (slist, userdata);
   
         if (result)
        break;
  
  
  
- -- 
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook
_________________________________________________________
This patch notification generated by tlaapply version 0.6
http://tkd.kicks-ass.net/arch/address@hidden/cvs-utils--tla--1.0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFBXSurFRMICSmD1gYRApe5AJ4r5mDbW1wiF3CcKO2KfkFiRYdPVgCgzhUf
h2Rpwh8XprEqpOfU1OAgc+M=
=SV+Y
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]