fixing loop counter init after compiler complaints
Michael Sweet
mike at easysw.com
Fri Aug 12 10:12:24 PDT 2005
Alex wrote:
> the valptr is uninitialized or has random value
> so it wont be good to use it for a loop initalisation.
> instead the value pointer previousely got assigned with this:
>
> cupsFileGetConf(fp, line, sizeof(line), &value, &linenum)
>
> to my best understanding this is a needed fix.
> i got hinted for it by a compiler warning.
Thanks, applied.
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Document Software http://www.easysw.com
More information about the cups-devel
mailing list