Re: [MM][PATCH] remove comparison of unsigned expression >= 0
- From: Aleksander Morgado <aleksander lanedo com>
- To: Ben Chan <benchan chromium org>
- Cc: "networkmanager-list gnome org" <networkmanager-list gnome org>
- Subject: Re: [MM][PATCH] remove comparison of unsigned expression >= 0
- Date: Mon, 29 Apr 2013 07:55:27 +0200
On 27/04/13 08:00, Ben Chan wrote:
[Ben]  Aleksander, do you think the original code was meant to check
"quality > 0"?
+    if (!max) {
         /* If we didn't get a max, assume it was 5. Note that we do allow
          * 0, meaning no signal at all. */
According to the comment just after that, zero is allowed.
-- 
Aleksander
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]