Commit b7a3e6c
committed
fix(runtime): remove dead helpers left behind by Phase 9 + Phase 12
MSVC under /W4 /WX doesn't flag unused anonymous-namespace functions
as errors (they compile fine and get DCE'd), but clang/gcc with
-Werror -Wunused-function do. CI caught six orphans that the local
Windows build had happily buried:
runtime/src/provider/local_embedded.cpp — Phase 9 fallout
parse_provider_class_text
parse_policy_floor_uint
parse_recovery_model_uint
parse_bool_uint
is_known_requirement_key
Every validation these five helpers used to do is now covered by
the schema-driven parser's field descriptors (EnumUintField,
EnumTextArrayField, BoolField, reject_unknown_keys). Leave a
one-line comment pointing at the replacement so nobody re-adds
them thinking they're missing.
runtime/src/tokens.cpp — Phase 6 fallout
require_bytes
Previously called by the now-removed verify_auth_wrapper helper
that Phase 6 (signed_partition template) replaced. The wrapper's
signature_bytes reach comes through the SignedPartitionView now,
no call site left.
All 1124 tests still green on dev-win. Should unblock clang-18,
gcc-14, and apple-clang CI.1 parent 34be016 commit b7a3e6c
2 files changed
Lines changed: 5 additions & 62 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
141 | 87 | | |
142 | 88 | | |
143 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | 89 | | |
93 | 90 | | |
94 | 91 | | |
| |||
0 commit comments