Wish: Variable Not Used Warning

Ary Borenszweig ary at esperanto.org.ar
Thu Jul 10 17:56:18 PDT 2008


Walter Bright a écrit :
> Robert Fraser wrote:
>> In a final release, unused things are signs of errors. When writing
>> code, unused variables (perhaps they were used in a commented-out
>> section?) are a dime a dozen.
> 
> Yes, that's why I find the warning to be a nuisance, not a help.

Related to this, but not specifically to your post, I found some unused 
variable in DMD's front-end code. I don't know if they are there for a 
reason. Should I post them as bugs or something like that?



More information about the Digitalmars-d mailing list