[coreboot-gerrit] Patch merged into coreboot/master: 8d225f1 libpayload: Fix variable shadowing in PDCurses

gerrit at coreboot.org gerrit at coreboot.org
Tue Mar 26 19:13:31 CET 2013

the following patch was just integrated into master:
commit 8d225f141d45e3eba5bb39973e4889e884d9a64f
Author: Stefan Reinauer <reinauer at chromium.org>
Date:   Mon Mar 25 15:30:30 2013 -0700

    libpayload: Fix variable shadowing in PDCurses
    PDCurses has a function called overlay() and also uses
    overlay as a variable name in some functions.
    This patch fixes the ambiguity that caused warnings like
    curses/PDCurses-3.4/pdcurses/overlay.c: In function '_copy_win':
    curses/PDCurses-3.4/pdcurses/overlay.c:51:39: warning: declaration of 'overlay' shadows a global declaration [-Wshadow]
    In file included from curses/PDCurses-3.4/curspriv.h:16:0,
                     from curses/PDCurses-3.4/pdcurses/overlay.c:3:
    curses/PDCurses-3.4/curses.h:1014:9: warning: shadowed declaration is here [-Wshadow]
    Change-Id: I907653df0c8bb32c98bdcbc6476e94d2da6e0e90
    Signed-off-by: Stefan Reinauer <reinauer at google.com>
    Reviewed-on: http://review.coreboot.org/2906
    Tested-by: build bot (Jenkins)
    Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>

Build-Tested: build bot (Jenkins) at Tue Mar 26 00:38:07 2013, giving +1
See http://review.coreboot.org/2906 for details.


More information about the coreboot-gerrit mailing list