* [PATCH][pushed] remove 'continue' as last statement in loop
@ 2022-07-22 7:29 Martin Liška
0 siblings, 0 replies; only message in thread
From: Martin Liška @ 2022-07-22 7:29 UTC (permalink / raw)
To: gcc-patches
PR other/106370
gcc/cp/ChangeLog:
* init.cc (sort_mem_initializers): Remove continue as last stmt
in a loop.
libiberty/ChangeLog:
* _doprnt.c: Remove continue as last stmt
in a loop.
---
gcc/cp/init.cc | 1 -
libiberty/_doprnt.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/gcc/cp/init.cc b/gcc/cp/init.cc
index a4a0a0ac0c2..edca8437f64 100644
--- a/gcc/cp/init.cc
+++ b/gcc/cp/init.cc
@@ -1436,7 +1436,6 @@ sort_mem_initializers (tree t, tree mem_inits)
continue;
splice:
*p = TREE_CHAIN (*p);
- continue;
}
}
diff --git a/libiberty/_doprnt.c b/libiberty/_doprnt.c
index cebaa16056b..c7232d858c6 100644
--- a/libiberty/_doprnt.c
+++ b/libiberty/_doprnt.c
@@ -55,7 +55,6 @@ Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
putc(CHAR, stream); \
ptr++; \
total_printed++; \
- continue; \
} while (0)
#define PRINT_TYPE(TYPE) \
--
2.37.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-22 7:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-22 7:29 [PATCH][pushed] remove 'continue' as last statement in loop Martin Liška
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).