updated for version 7.2b-012
diff --git a/src/main.c b/src/main.c
index 587081b..7718e97 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2245,7 +2245,12 @@
 		/* Remember this argument has been added to the argument list.
 		 * Needed when 'encoding' is changed. */
 		used_file_arg(argv[0], parmp->literal, parmp->full_path,
-							    parmp->diff_mode);
+# ifdef FEAT_DIFF
+							    parmp->diff_mode
+# else
+							    FALSE
+# endif
+							    );
 	    }
 #endif
 	}