findutils-patches
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]