--- busybox-1.3.0/findutils/find.c	Wed Dec 13 01:10:00 2006
+++ busybox-1.3.0.find/findutils/find.c	Fri Dec 15 23:28:36 2006
@@ -81,6 +81,7 @@
 }
 
 
+#if ENABLE_FEATURE_FIND_EXEC
 static int count_subst(const char *str)
 {
 	int count = 0;
@@ -108,6 +109,7 @@
 	strcpy(dst, src);
 	return buf;
 }
+#endif
 
 
 static int exec_actions(action ***appp, const char *fileName, struct stat *statbuf)
@@ -562,8 +564,8 @@
 			argp[0] = "-a";
 		}
 		argp++;
-	}
 #endif
+	}
 
 	actions = parse_params(&argv[firstopt]);
 
