1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-07 06:43:00 +03:00

Add comment about SIZE initialization in xdr.c

This commit is contained in:
Siddhesh Poyarekar
2014-07-10 10:32:29 +05:30
parent 5efe06a176
commit d69b7f5ac0
2 changed files with 7 additions and 0 deletions

View File

@@ -739,6 +739,8 @@ xdr_string (xdrs, cpp, maxsize)
u_int maxsize;
{
char *sp = *cpp; /* sp is the actual string pointer */
/* Initialize to silence the compiler. It is not really needed because SIZE
never actually gets used without being initialized. */
u_int size = 0;
u_int nodesize;