- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit927e235
committed
Suppress variable-set-but-not-used warning from clang 13.
In the normal configuration where GEQO_DEBUG isn't defined,recent clang versions have started to complain that geqo_main.caccumulates the edge_failures count but never does anythingwith it. As a minimal back-patchable fix, insert a void castto silence this warning. (I'd speculated about ripping out theGEQO_DEBUG logic altogether, but I don't think we'd wish toback-patch that.)Per recently-established project policy, this is a candidatefor back-patching into out-of-support branches: it suppressesan annoying compiler warning but changes no behavior. Hence,back-patch all the way to 9.2.Discussion:https://postgr.es/m/CA+hUKGLTSZQwES8VNPmWO9AO0wSeLt36OCPDAZTccT1h7Q7kTQ@mail.gmail.com1 parent0af2084 commit927e235
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
227 | 227 |
| |
228 | 228 |
| |
229 | 229 |
| |
230 |
| - | |
| 230 | + | |
| 231 | + | |
231 | 232 |
| |
232 | 233 |
| |
233 | 234 |
| |
234 | 235 |
| |
235 | 236 |
| |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
236 | 241 |
| |
237 | 242 |
| |
238 | 243 |
| |
|
0 commit comments
Comments
(0)