Received: from eggs.gnu.org ([2001:4830:134:3::10]:39869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPRyA-0003jW-T2 for qemu-devel@nongnu.org; Sat, 30 Jan 2016 04:37:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aPRy6-0000v4-SM for qemu-devel@nongnu.org; Sat, 30 Jan 2016 04:37:26 -0500 References: <1453462113-27119-1-git-send-email-pbonzini@redhat.com> From: Michael Tokarev Message-ID: <56AC8450.2040702@msgid.tls.msk.ru> Date: Sat, 30 Jan 2016 12:37:20 +0300 MIME-Version: 1.0 In-Reply-To: <1453462113-27119-1-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] qemu-sockets: simplify error handling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org 22.01.2016 14:28, Paolo Bonzini wrote: > Just go always through the err label. (Noticed because Coverity > complains that peer is always non-NULL in the error cleanup code, > but removing the "if" is arguably more prone to introducing the > opposite bug in the future). Applied to -trivial, thanks! /mjt