@@ -1,3 +1,8 @@
+2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
+
+ * sunrpc/xdr.c (xdr_string): Add comment about SIZE
+ initialization.
+
2014-07-09 David S. Miller <davem@davemloft.net>
* sysdeps/sparc/fpu/libm-test-ulps: Update.
@@ -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;