[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Findutils-patches] [PATCH 3/7] Remove some redundant continue statement
From: |
James Youngman |
Subject: |
[Findutils-patches] [PATCH 3/7] Remove some redundant continue statements. |
Date: |
Wed, 29 Jun 2011 10:16:52 +0100 |
* find/print.c (insert_fprintf): Remove a pair of redundant
'continue' statements.
---
ChangeLog | 4 ++++
find/print.c | 2 --
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 6cdc8b3..bbec435 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2011-06-25 James Youngman <address@hidden>
+ Remove some redundant continue statements.
+ * find/print.c (insert_fprintf): Remove a pair of redundant
+ 'continue' statements.
+
Simplify -fprintf %%; handle %% like a regular format specifier.
* find/print.c (make_segment): Handle foo%% by simply generating a
format string of foo%% (that is, let vfprintf handle the escaped
diff --git a/find/print.c b/find/print.c
index 31a46cd..7270b94 100644
--- a/find/print.c
+++ b/find/print.c
@@ -343,7 +343,6 @@ insert_fprintf (struct format_val *vec,
our_pred);
fmt_editpos = fmt_inpos + 1;
segstart = fmt_editpos + 1;
- continue;
}
else
{
@@ -369,7 +368,6 @@ insert_fprintf (struct format_val *vec,
our_pred);
segstart = fmt_editpos + 1;
}
- continue;
}
}
}
--
1.7.2.5
- [Findutils-patches] [PATCH 1/7] Clarify variable naming in insert_fprintf., James Youngman, 2011/06/29
- [Findutils-patches] [PATCH 4/7] Separate out the handling of \c., James Youngman, 2011/06/29
- [Findutils-patches] [PATCH 5/7] Factor some of the code out of insert_fprintf., James Youngman, 2011/06/29
- [Findutils-patches] [PATCH 3/7] Remove some redundant continue statements.,
James Youngman <=
- [Findutils-patches] [PATCH 2/7] Simplify -fprintf %%; handle %% like a regular format specifier., James Youngman, 2011/06/29
- [Findutils-patches] [PATCH 7/7] Fix some constness warnings when dealing with -printf formats., James Youngman, 2011/06/29
- [Findutils-patches] [PATCH 6/7] Refactor insert_fprintf to minimise calls to make_segment., James Youngman, 2011/06/29