c6d234
commit d69b7f5ac02989ce3d8577eed86da3e0c8af6c1c
c6d234
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
c6d234
Date:   Thu Jul 10 10:32:29 2014 +0530
c6d234
c6d234
    Add comment about SIZE initialization in xdr.c
c6d234
c6d234
diff --git a/sunrpc/xdr.c b/sunrpc/xdr.c
c6d234
index b3e713cbc9c3e012..d0afd34466f73def 100644
c6d234
--- a/sunrpc/xdr.c
c6d234
+++ b/sunrpc/xdr.c
c6d234
@@ -738,6 +738,8 @@ xdr_string (xdrs, cpp, maxsize)
c6d234
      u_int maxsize;
c6d234
 {
c6d234
   char *sp = *cpp;	/* sp is the actual string pointer */
c6d234
+  /* Initialize to silence the compiler.  It is not really needed because SIZE
c6d234
+     never actually gets used without being initialized.  */
c6d234
   u_int size = 0;
c6d234
   u_int nodesize;
c6d234