qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-trivial] [PATCH trivial] qemu-img: Remove redundancy "ret = -1


From: Michael Tokarev
Subject: Re: [Qemu-trivial] [PATCH trivial] qemu-img: Remove redundancy "ret = -1"
Date: Wed, 09 Jul 2014 15:58:44 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.6.0

03.07.2014 17:57, Chen Gang wrote:
In this case, 'ret' is already '-1', so need not do it again.

It's a very minor thing in an error path, maybe compiler even
eliminates this statement entirely by its own already.

Not sure it is worth the effort but applied to the -trivial tree
anyway, thanks!

/mjt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]