Message ID | 20200915171234.236-6-luoyonggang@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=5OKZ=CY=nongnu.org=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5E05892C for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 15 Sep 2020 17:25:48 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 238AB20678 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 15 Sep 2020 17:25:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="LKHzr4Lc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 238AB20678 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:34662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1kIEiA-0005wG-Nc for patchwork-qemu-devel@patchwork.kernel.org; Tue, 15 Sep 2020 13:25:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <luoyonggang@gmail.com>) id 1kIEWy-0008Og-1i; Tue, 15 Sep 2020 13:14:12 -0400 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]:39891) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <luoyonggang@gmail.com>) id 1kIEW5-0002fM-Tp; Tue, 15 Sep 2020 13:13:19 -0400 Received: by mail-pg1-x542.google.com with SMTP id d13so2320559pgl.6; Tue, 15 Sep 2020 10:13:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fONA64XSdMINk4Pb3HJvl02BkTmqUfaoSQk6W/tx2aE=; b=LKHzr4Lcn+uU0yCodbVQdb1MAMK3QlUfsXSU/mdvMxcPCCYoyUHUOKZWKi0W9XfRPw CXoUko5kphmNif8eL1e1meMctEWmtDMwF6DQSIQqGbB0eKF71yJuvosbnZa7odI3zrPk K0OFtlF1Leja1Z3Pj1nneSzJUo9a1OZEtCs5UXEWnMnDZ6qwmrN26+ZqU79aScR+KG/B mkRzjUhq5P+kayCKdv//mCcmwN8g3wMWEyERzcs7yzEUQTWWsSqrNhtExE7m1UTV4qDH DSmAOETUw1urCW94cDQVgqpU2+EKtky7iFywY9Rwy+V9zW8kGbSwNRLLEx+Nzh/67cmG GrzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fONA64XSdMINk4Pb3HJvl02BkTmqUfaoSQk6W/tx2aE=; b=Md55+jsmyQ32tboiAx+DV4gj+29KFbu6kIXg4H8x80500LLN4Mg+Gt6THAzEYjdC+m QGZ/5AizNYAwwReVV3xB7+jVPvpzH+vJacJwnS4aNeECpSyD64WANZBW+1542UchTclg SJJ3xA59xjbk/eP7rhAuLh+C0Il2XNstub1erWRijcTp3zSWFhOFsKc9IbVg8Lqxuf/N rjRC1rJl/nSqFMEQvouArwQO/8Rz2s1xrq9PFU93denCSZADdeHn1X1j2SDxkAWkwLHL bqEm54O24fdAhiu2c7diA1axBMABERgT8UYTZ75SP5v5jM1hLprYVo6JCgBmyXE+epgH fRlQ== X-Gm-Message-State: AOAM533rwuiG8eJP11yI7roWpARPtSSwNz/TpXMGsLfQobUqSeMoiwuZ JV+Bu6WJk3hqMcHqeZ5Sh6/Z7j9sWMTSUiTfozQ= X-Google-Smtp-Source: ABdhPJzzqei6XycnCpqf7vVsJA3UGsbtwP3ZK1JTWdG/mPKqP2MEsIunO2weByoPNfudybmhektrFQ== X-Received: by 2002:a05:6a00:1506:b029:142:2501:3971 with SMTP id q6-20020a056a001506b029014225013971mr2805345pfu.54.1600189995460; Tue, 15 Sep 2020 10:13:15 -0700 (PDT) Received: from localhost.localdomain ([103.94.185.75]) by smtp.googlemail.com with ESMTPSA id j14sm124046pjz.21.2020.09.15.10.13.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Sep 2020 10:13:14 -0700 (PDT) From: Yonggang Luo <luoyonggang@gmail.com> To: qemu-devel@nongnu.org Subject: [PATCH v10 05/26] curses: Fixes curses compiling errors. Date: Wed, 16 Sep 2020 01:12:13 +0800 Message-Id: <20200915171234.236-6-luoyonggang@gmail.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20200915171234.236-1-luoyonggang@gmail.com> References: <20200915171234.236-1-luoyonggang@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::542; envelope-from=luoyonggang@gmail.com; helo=mail-pg1-x542.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Kevin Wolf <kwolf@redhat.com>, =?utf-8?q?Daniel_P_=2E_Berrang=C3=A9?= <berrange@redhat.com>, Ed Maste <emaste@freebsd.org>, Michael Roth <mdroth@linux.vnet.ibm.com>, qemu-block@nongnu.org, Stefan Weil <sw@weilnetz.de>, Xie Changlong <xiechanglong.d@gmail.com>, Richard Henderson <richard.henderson@linaro.org>, Markus Armbruster <armbru@redhat.com>, Max Reitz <mreitz@redhat.com>, Yonggang Luo <luoyonggang@gmail.com>, Gerd Hoffmann <kraxel@redhat.com>, Wen Congyang <wencongyang2@huawei.com>, Paolo Bonzini <pbonzini@redhat.com>, Li-Wen Hsu <lwhsu@freebsd.org>, Peter Lieven <pl@kamp.de> Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> |
Series |
W32, W64 msys2/mingw patches
|
expand
|
diff --git a/ui/curses.c b/ui/curses.c index 12bc682cf9..e4f9588c3e 100644 --- a/ui/curses.c +++ b/ui/curses.c @@ -262,7 +262,7 @@ static int curses2foo(const int _curses2foo[], const int _curseskey2foo[], static void curses_refresh(DisplayChangeListener *dcl) { int chr, keysym, keycode, keycode_alt; - enum maybe_keycode maybe_keycode; + enum maybe_keycode maybe_keycode = CURSES_KEYCODE; curses_winch_check(); @@ -299,7 +299,7 @@ static void curses_refresh(DisplayChangeListener *dcl) /* alt or esc key */ if (keycode == 1) { - enum maybe_keycode next_maybe_keycode; + enum maybe_keycode next_maybe_keycode = CURSES_KEYCODE; int nextchr = console_getch(&next_maybe_keycode); if (nextchr != -1) {