uninitialized "width" in st_parse.c ?
Rohit Tripathi
rohit.trip at gmail.com
Sat Aug 16 16:41:24 UTC 2008
Jumped the gun here, width need not be initialized:
static char *
number(char *cp, int *n)
{
char *next;
*n = (int)strtol(cp, &next, 10);
if (next == cp)
expected("number", "<number>", cp);
return (next);
}
On Sat, Aug 16, 2008 at 12:35 PM, Rohit Tripathi <rohit.trip at gmail.com> wrote:
> I found a build error under cddl/contrib/opensolaris/tools/ctf/cvt and
> saw that width (line 779) was declared but not initialized. Is this
> intentional? After setting it to 64 the build proceeded fine.
>
> -Rohit
>
More information about the freebsd-current
mailing list