1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/dist/tools/coccinelle/force/continue.cocci

18 lines
297 B
Plaintext

// Continue at the end of a for loop has no purpose
//
// Confidence: Moderate
// Copyright: (C) Gilles Muller, Julia Lawall, EMN, INRIA, DIKU. GPLv2.
// URL: http://coccinelle.lip6.fr/rules/continue.html
// Options:
@@
@@
for (...;...;...) {
...
if (...) {
...
- continue;
}
}