Remove assignment to variables not in use.
[yaz-moved-to-github.git] / src / initopt.c
index 994dec1..4d147db 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2010 Index Data
+ * Copyright (C) 1995-2011 Index Data
  * See the file LICENSE for details.
  */
 
@@ -50,7 +50,7 @@ int yaz_init_opt_encode(Z_Options *opt, const char *opt_str, int *error_pos)
     while (*cp)
     {
         char this_opt[42];
-        int i, j;
+        size_t i, j;
         if (*cp == ' ' || *cp == ',')
         {
             cp++;