Re: [MM][PATCH] remove comparison of unsigned expression >= 0



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]