tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Uninitialized var in altq_subr.c



On Mon, Oct 27, 2008 at 12:16 PM, Hauke Fath <hf%spg.tu-darmstadt.de@localhost> 
wrote:
> 1.16         (peter    12-Oct-06): u_int64_t
> 1.16         (peter    12-Oct-06): read_machclk(void)
> 1.1          (thorpej  14-Dec-00): {
> 1.16         (peter    12-Oct-06):      u_int64_t val;
> 1.16         (peter    12-Oct-06):
> 1.16         (peter    12-Oct-06):      if (machclk_usepcc) {
> 1.25         (ad       10-May-08): #ifdef __HAVE_CPU_COUNTER
> 1.25         (ad       10-May-08):              return cpu_counter();

#else
  return <XXX>;

This solution more clear as I think.

> 1.16         (peter    12-Oct-06): #endif


-- 
With Best Regards,
Andy Shevchenko


Home | Main Index | Thread Index | Old Index