lkml.org 
[lkml]   [2008]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] 8250: Eliminate compile warning of 8250.c
> The logic here is strange...

Why

> If you used old compiler, you would get a warning, and you thought that's
> ensured we won't delete a intended assignment by mistake.

No.. if you hid the warning by hacking around the compiler mistake with
extra bogus assignments you would hide a future mistake.
>
> If you used new compiler, you wouldn't get a warning, and you think this time
> the compiler get it right.

The compiler does now get it right - I checked.

Alan


\
 
 \ /
  Last update: 2008-11-25 12:17    [W:0.040 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site