|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [Bug 1856549] Re: qemu-4.2.0/hw/misc/mac_via.c: 2 * bad test ? |
Date: | Mon, 16 Dec 2019 14:03:55 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 |
On 12/16/19 12:58 PM, dcb wrote:
gcc compiler flag -Wduplicated-cond will catch this kind of problem.
Interesting, thanks for sharing!
You might want to switch it on in your builds. It has been available for over a year.
[Prev in Thread] | Current Thread | [Next in Thread] |