From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kamala Narasimhan Subject: Build errors with latest xen-unstable from staging Date: Sun, 06 Feb 2011 14:01:51 -0500 Message-ID: <4D4EF01F.5050106@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org FYI - Pulled the latest xen-unstable from staging to sync some patches an= d got these trivial errors while compiling - xl_cmdimpl.c: In function =91print_domain_vcpuinfo=92: xl_cmdimpl.c:3351: warning: =91firstset=92 may be used uninitialized in t= his function xl_cmdimpl.c:3351: note: =91firstset=92 was declared here xl_cmdimpl.c:3350: warning: =91bitmask=92 may be used uninitialized in th= is function xl_cmdimpl.c:3350: note: =91bitmask=92 was declared here xl_cmdimpl.c:3350: warning: =91pmap=92 may be used uninitialized in this = function xl_cmdimpl.c:3350: note: =91pmap=92 was declared here GCC version - 4.2.4. Initializing the three variables it complained abou= t fixed the issue. If this trivial change should require a signed off line, here= it is - Signed-off-by: Kamala Narasimhan diff -r 7ada6faef565 tools/libxl/xl_cmdimpl.c --- a/tools/libxl/xl_cmdimpl.c Sun Feb 06 17:26:31 2011 +0000 +++ b/tools/libxl/xl_cmdimpl.c Sun Feb 06 13:53:50 2011 -0500 @@ -3347,8 +3347,8 @@ static void print_bitmap(uint8_t *map, i static void print_bitmap(uint8_t *map, int maplen, FILE *stream) { int i; - uint8_t pmap, bitmask; - int firstset, state =3D 0; + uint8_t pmap =3D 0, bitmask =3D 0; + int firstset =3D 0, state =3D 0; for (i =3D 0; i < maplen; i++) { if (i % 8 =3D=3D 0) { Kamala