Commit 9116563
Merge bitcoin#29315: refactor: Compile unreachable walletdb code
fa3373d refactor: Compile unreachable code (MarcoFalke)
Pull request description:
When unreachable code isn't compiled, compile failures are not detected.
Fix this by leaving it unreachable, but compiling it.
Fixes bitcoin#28999 (comment)
ACKs for top commit:
achow101:
ACK fa3373d
ryanofsky:
Code review ACK fa3373d. This looks good, and should prevent code in the else blocks from accidentally breaking.
Tree-SHA512: 3a3764915dfc935bf5d7a48f1ca151dcbac340c1cbdce8236b24ae9b4f04d6ee9771ed058ca60bcbca6e19d13671de3517f828a8f7ab6444c7cc4e3538d1ba4e1 parent ddbe865 commit 9116563
1 file changed
+16
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1160 | 1160 | | |
1161 | 1161 | | |
1162 | 1162 | | |
1163 | | - | |
1164 | | - | |
1165 | | - | |
1166 | | - | |
1167 | | - | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
1168 | 1166 | | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
1169 | 1172 | | |
1170 | 1173 | | |
1171 | 1174 | | |
1172 | | - | |
1173 | | - | |
1174 | | - | |
1175 | | - | |
1176 | | - | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
1177 | 1178 | | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
1178 | 1184 | | |
1179 | 1185 | | |
1180 | 1186 | | |
| |||
0 commit comments