Received: from eggs.gnu.org ([2001:4830:134:3::10]:54313) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y3XqM-0001Vt-J0 for qemu-devel@nongnu.org; Tue, 23 Dec 2014 17:22:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y3XqL-0000Kc-LH for qemu-devel@nongnu.org; Tue, 23 Dec 2014 17:22:18 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:54634) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y3XqL-0000J0-FU for qemu-devel@nongnu.org; Tue, 23 Dec 2014 17:22:17 -0500 From: Peter Maydell Date: Tue, 23 Dec 2014 22:18:18 +0000 Message-Id: <1419373100-17690-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 0/2] s390: fix clang warnings List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Cornelia Huck , Christian Borntraeger , Alexander Graf , Richard Henderson These two patches fix warnings generated by clang; I'm hoping we can clear up the handful of remaining clang warnings so I can turn on warnings-as-errors for my builds I do before applying pullreqs, and then we can keep the clang builds warning-free. For the disassembler code, I opted to simply delete the unused data tables. The other thing we've done in some of the disassemblers is to just #if-0 out the code, but that's mostly been where it's something we might use in future, and I think this table is for the benefit of the assembler, not the disassembler. Peter Maydell (2): target-s390x: Mark op_csp() as !CONFIG_USER_ONLY disas/s390.c: Remove unused variables disas/s390.c | 35 ----------------------------------- target-s390x/translate.c | 2 ++ 2 files changed, 2 insertions(+), 35 deletions(-) -- 1.9.1