This is the mail archive of the libc-hacker@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch to fix recent clnt_udp change


> 
> 
> With the current glibc CVS version I get the following error:
> clnt_udp.c:270: warning: `anyup' might be used uninitialized in this function
> 
> Looking at the code, the warning is justified, anyup isn't initialized 
> at all:-(.
> 

Ulrich left out

	anyup = 0;

before

	for (;;)

I prefer it there since it may not be always necessary.

H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]