From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH] tools: fix compile errors with -Og Date: Wed, 13 Apr 2016 14:05:34 +0200 Message-ID: <1460549134.13871.125.camel@citrix.com> References: <1460469319-12877-1-git-send-email-olaf@aepfle.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7224466862543217981==" Return-path: In-Reply-To: <1460469319-12877-1-git-send-email-olaf@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Olaf Hering , xen-devel@lists.xen.org Cc: Ian Jackson , Wei Liu List-Id: xen-devel@lists.xenproject.org --===============7224466862543217981== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-pYmgW8kIyyOLQrN7sFse" --=-pYmgW8kIyyOLQrN7sFse Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2016-04-12 at 15:55 +0200, Olaf Hering wrote: > At least gcc-4.8 and older fails to recognize that err is always > initialized, the build fails: > =C2=A0 xc_cpupool.c: In function 'xc_cpupool_removecpu': > =C2=A0 xc_cpupool.c:168:5: error: 'err' may be used uninitialized in this > function [-Werror=3Dmaybe-uninitialized] > =C2=A0=C2=A0=C2=A0=C2=A0return err; >=20 > Fix this in blktap2 and libxc. >=20 > Signed-off-by: Olaf Hering > Cc: Ian Jackson > Cc: Wei Liu > Reviewed-by: Dario Faggioli Regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-pYmgW8kIyyOLQrN7sFse Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEABECAAYFAlcONg4ACgkQk4XaBE3IOsQxZwCfYl5uEi0ZulN6APb1TKkrYxjL 4fIAnjcI7/8PwxscZ499K/GZCt+L1Fem =pTJz -----END PGP SIGNATURE----- --=-pYmgW8kIyyOLQrN7sFse-- --===============7224466862543217981== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwOi8vbGlzdHMueGVuLm9y Zy94ZW4tZGV2ZWwK --===============7224466862543217981==--