--- a/tools/PTmender.c
+++ b/tools/PTmender.c
@@ -257,7 +257,6 @@
 
     fullPath scriptFileName;
     fullPath panoFileName;
-    int i;
 
     char opt;