Print this page
5910 libnisdb won't build with modern GCC

@@ -17,10 +17,11 @@
  * information: Portions Copyright [yyyy] [name of copyright owner]
  *
  * CDDL HEADER END
  */
 /*
+ * Copyright 2015 Gary Mills
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
 

@@ -2088,11 +2089,11 @@
  */
 __nis_value_t **
 matchMappingItem(__nis_mapping_format_t *f, __nis_value_t *inVal,
                 int *numVals, char *sepset, char **outstr) {
         __nis_value_t           **v = 0;
-        int                     i, n, ni, numItems, nf, nv = 0;
+        int                     i, n, ni, numItems, nf;
         char                    *str, *valstr;
         __nis_mapping_format_t  *ftmp;
         char                    *myself = "matchMappingItem";
 
         if (f == 0 ||