From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wzljz-0006Z3-1f for qemu-devel@nongnu.org; Wed, 25 Jun 2014 07:51:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wzljs-0005Vn-LZ for qemu-devel@nongnu.org; Wed, 25 Jun 2014 07:51:50 -0400 Date: Wed, 25 Jun 2014 13:51:26 +0200 From: Igor Mammedov Message-ID: <20140625135126.64cc15d8@nial.usersys.redhat.com> In-Reply-To: <87vbrpe4qa.fsf@blackfin.pond.sub.org> References: <1403683241-20678-1-git-send-email-imammedo@redhat.com> <87vbrpe4qa.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] qemu-char: fix warning 'res' may be used uninitialized List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: qemu-trivial@nongnu.org, peter.maydell@linaro.org, qemu-devel@nongnu.org, Paolo Bonzini On Wed, 25 Jun 2014 11:08:29 +0200 Markus Armbruster wrote: > Igor Mammedov writes: > > > Signed-off-by: Igor Mammedov > > Broken in commit 9005b2a (author cc'ed). Bites only when passed zero > len, which seems unlikely. > > Reviewed-by: Markus Armbruster > main motivation for the patch was to allow -Werror=all build pass.