Received: from eggs.gnu.org ([2001:4830:134:3::10]:41560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtdNi-0006yx-LE for qemu-devel@nongnu.org; Sun, 08 Jun 2014 09:43:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtdNc-0002d3-7e for qemu-devel@nongnu.org; Sun, 08 Jun 2014 09:43:30 -0400 Message-ID: <53946878.3060606@msgid.tls.msk.ru> Date: Sun, 08 Jun 2014 17:43:20 +0400 From: Michael Tokarev MIME-Version: 1.0 References: <1402060885-18332-1-git-send-email-pbonzini@redhat.com> In-Reply-To: <1402060885-18332-1-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH] cpu/x86: correctly set errors in x86_cpu_parse_featurestr List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, armbru@redhat.com 06.06.2014 17:21, Paolo Bonzini wrote: > Because of the "goto out", the contents of local_err are leaked > and lost. Might just as well change 'goto out' to 'break' (instead of return), and handle the `if (local_err)' like you did. Applied to -trivial, thank you! /mjt