summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2011-08-01 01:52:58 (EDT)
committer Henrik Rentz-Reichert2011-08-01 01:52:58 (EDT)
commit79a36d4762e923c7771f06bed91ab33ea4553ee7 (patch)
tree3a1b0b1266efc9a864f94d8bcf388a92033ce416
parentac22bffec20d960c48cb76c97b9c12d8465657b5 (diff)
downloadorg.eclipse.etrice-79a36d4762e923c7771f06bed91ab33ea4553ee7.zip
org.eclipse.etrice-79a36d4762e923c7771f06bed91ab33ea4553ee7.tar.gz
org.eclipse.etrice-79a36d4762e923c7771f06bed91ab33ea4553ee7.tar.bz2
bug 353469: Timing Service will not be generated correctly
https://bugs.eclipse.org/bugs/show_bug.cgi?id=353469 Change-Id: Iff30cc4946d3912f87cc2e72c741e3aa095da041
-rw-r--r--plugins/org.eclipse.etrice.generator.java/src/templates/StateMachine.xpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.etrice.generator.java/src/templates/StateMachine.xpt b/plugins/org.eclipse.etrice.generator.java/src/templates/StateMachine.xpt
index a9ab847..552e349 100644
--- a/plugins/org.eclipse.etrice.generator.java/src/templates/StateMachine.xpt
+++ b/plugins/org.eclipse.etrice.generator.java/src/templates/StateMachine.xpt
@@ -198,7 +198,7 @@ private int enterHistory(int state, boolean handler, boolean skip_entry) {
}
skip_entry = false;
}
- return NO_STATE;
+ «REM»return NO_STATE; // required by CDT but detected as unreachable by JDT because of while (true)«ENDREM»
}
//*** Entry and Exit Codes