Commit 2469735
committed
fix #10944: Null sentinel initialized=false
DataRuntimeLang::Null sentinel was ctor'd w/ initialized=true
(DataRuntimeLanguage.hh:805 static init, :868 clear_state).
Semantically wrong - Null means "no value set" - and it poisoned
every actuator Erl var via Value=Null at EMSManager.cc:743,
defeating checkForUnusedActuatorsAtEnd's !Value.initialized guard.
Flip the last ctor arg to false at both sites. Audit confirms
dataRuntimeLang->Null has a single caller - zero blast radius.
Update EMSManager_TrendValue_to_Actuator: two pre-SET
EXPECT_TRUE->EXPECT_FALSE to match corrected invariant.1 parent 7c0eee9 commit 2469735
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
802 | 802 | | |
803 | 803 | | |
804 | 804 | | |
805 | | - | |
| 805 | + | |
806 | 806 | | |
807 | 807 | | |
808 | 808 | | |
| |||
865 | 865 | | |
866 | 866 | | |
867 | 867 | | |
868 | | - | |
| 868 | + | |
869 | 869 | | |
870 | 870 | | |
871 | 871 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2592 | 2592 | | |
2593 | 2593 | | |
2594 | 2594 | | |
2595 | | - | |
| 2595 | + | |
2596 | 2596 | | |
2597 | 2597 | | |
2598 | 2598 | | |
| |||
2605 | 2605 | | |
2606 | 2606 | | |
2607 | 2607 | | |
2608 | | - | |
| 2608 | + | |
2609 | 2609 | | |
2610 | 2610 | | |
2611 | 2611 | | |
| |||
0 commit comments