From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6pOq-0004Fa-2P for qemu-devel@nongnu.org; Wed, 09 Dec 2015 19:48:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a6pOm-0003jR-St for qemu-devel@nongnu.org; Wed, 09 Dec 2015 19:48:00 -0500 From: marcandre.lureau@redhat.com Date: Thu, 10 Dec 2015 01:47:45 +0100 Message-Id: <1449708466-13366-1-git-send-email-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 1/2] configure: remove unused or undefined variables List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= From: Marc-Andr=C3=A9 Lureau Found thanks to shellcheck! Signed-off-by: Marc-Andr=C3=A9 Lureau --- configure | 6 ------ 1 file changed, 6 deletions(-) diff --git a/configure b/configure index b55dcdd..6a971a2 100755 --- a/configure +++ b/configure @@ -3994,7 +3994,6 @@ EOF fi =20 # check for smartcard support -smartcard_cflags=3D"" if test "$smartcard" !=3D "no"; then if $pkg_config libcacard; then libcacard_cflags=3D$($pkg_config --cflags libcacard) @@ -4356,7 +4355,6 @@ fi # If we can't selectively disable warning in the code, disable -Werror s= o that # the build doesn't fail anyway. =20 -pragma_disable_unused_but_set=3Dno cat > $TMPC << EOF #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-but-set-variable" @@ -4791,9 +4789,6 @@ if test "$vnc" =3D "yes" ; then echo "VNC JPEG support $vnc_jpeg" echo "VNC PNG support $vnc_png" fi -if test -n "$sparc_cpu"; then - echo "Target Sparc Arch $sparc_cpu" -fi echo "xen support $xen" if test "$xen" =3D "yes" ; then echo "xen ctrl version $xen_ctrl_version" @@ -5285,7 +5280,6 @@ if test "$qom_cast_debug" =3D "yes" ; then fi if test "$rbd" =3D "yes" ; then echo "CONFIG_RBD=3Dm" >> $config_host_mak - echo "RBD_CFLAGS=3D$rbd_cflags" >> $config_host_mak echo "RBD_LIBS=3D$rbd_libs" >> $config_host_mak fi =20 --=20 2.5.0