Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/arch/ofppc/ofppc
> > Modified Files:
> > src/sys/arch/ofppc/ofppc: clock.c
> >
> > Log Message:
> > Rename local variable `tick' to `ticks' to make this build with -Wshadow.
>
> This piece of code is replicated ~verbatim in several places. I think
> xtos used s/tick/xtick/ to fix the shadow warning in the places that
> he touched. May be we should stick to that elsewhere so that
> instances of this code continue to be congruent?
Yes, that is a good idea. I'll take a sweep at the places where
I've already committed similar fixes, and conform to the above
suggestion.
Regards,
- Håvard
Home |
Main Index |
Thread Index |
Old Index