Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/unzip Kill a left-over break from the for-loop that ...
details: https://anonhg.NetBSD.org/src/rev/24db9fb5135f
branches: trunk
changeset: 754730:24db9fb5135f
user: joerg <joerg%NetBSD.org@localhost>
date: Mon May 10 15:45:22 2010 +0000
description:
Kill a left-over break from the for-loop that vanished in 1.13.
Issue noticed by tnn.
diffstat:
usr.bin/unzip/unzip.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (30 lines):
diff -r fef00e0a2f6f -r 24db9fb5135f usr.bin/unzip/unzip.c
--- a/usr.bin/unzip/unzip.c Mon May 10 15:10:54 2010 +0000
+++ b/usr.bin/unzip/unzip.c Mon May 10 15:45:22 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: unzip.c,v 1.13 2010/04/29 06:32:19 joerg Exp $ */
+/* $NetBSD: unzip.c,v 1.14 2010/05/10 15:45:22 joerg Exp $ */
/*-
* Copyright (c) 2009, 2010 Joerg Sonnenberger <joerg%NetBSD.org@localhost>
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: unzip.c,v 1.13 2010/04/29 06:32:19 joerg Exp $");
+__RCSID("$NetBSD: unzip.c,v 1.14 2010/05/10 15:45:22 joerg Exp $");
#include <sys/queue.h>
#include <sys/stat.h>
@@ -572,10 +572,8 @@
* guess wrong, we print a warning message later.
*/
if (a_opt && n == 0) {
- if (check_binary(buffer, len)) {
+ if (check_binary(buffer, len))
text = 0;
- break;
- }
}
/* simple case */
Home |
Main Index |
Thread Index |
Old Index