summaryrefslogtreecommitdiffstats
path: root/src/delta/delta.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/delta/delta.c')
-rw-r--r--src/delta/delta.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/delta/delta.c b/src/delta/delta.c
index beca7ea975..d830c5e162 100644
--- a/src/delta/delta.c
+++ b/src/delta/delta.c
@@ -611,9 +611,7 @@ static int run(int argc, char *argv[]) {
pager_open(arg_pager_flags);
if (optind < argc) {
- int i;
-
- for (i = optind; i < argc; i++) {
+ for (int i = optind; i < argc; i++) {
path_simplify(argv[i]);
k = process_suffix_chop(argv[i]);