aboutsummaryrefslogtreecommitdiff
path: root/editors/diff.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/diff.c')
-rw-r--r--editors/diff.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/editors/diff.c b/editors/diff.c
index 4e51f6f76..26f352780 100644
--- a/editors/diff.c
+++ b/editors/diff.c
@@ -1289,14 +1289,9 @@ int diff_main(int argc ATTRIBUTE_UNUSED, char **argv)
1289 while (L_arg) { 1289 while (L_arg) {
1290 if (label1 && label2) 1290 if (label1 && label2)
1291 bb_show_usage(); 1291 bb_show_usage();
1292 if (!label1) 1292 if (label1) /* then label2 is NULL */
1293 label1 = L_arg->data;
1294 else { /* then label2 is NULL */
1295 label2 = label1; 1293 label2 = label1;
1296 label1 = L_arg->data; 1294 label1 = llist_pop(&L_arg);
1297 }
1298 /* we leak L_arg here... */
1299 L_arg = L_arg->link;
1300 } 1295 }
1301 1296
1302 /* 1297 /*