Commit b953370
Fix clang 15 -Wunused-but-set-variable warnings in MyRocks (percona#1304)
Upstream commit ID: facebook/mysql-5.6@4475c80
PS-8951: Merge percona-202305 (https://jira.percona.com/browse/PS-8951)
Summary:
- Make infinite debug loop counter volatile. Otherwise it's undefined behavior and/or the loop might be optimized away.
- Remove another write-only variable
Pull Request resolved: facebook/mysql-5.6#1304
Reviewed By: hermanlee
Differential Revision: D45446127
Pulled By: sunshine-Chun
fbshipit-source-id: c0dfddfa76b4004ae61d62b5de305cb3264afb1c1 parent 36b6127 commit b953370
1 file changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13167 | 13167 | | |
13168 | 13168 | | |
13169 | 13169 | | |
13170 | | - | |
13171 | 13170 | | |
13172 | 13171 | | |
13173 | 13172 | | |
| |||
13197 | 13196 | | |
13198 | 13197 | | |
13199 | 13198 | | |
13200 | | - | |
13201 | 13199 | | |
13202 | 13200 | | |
13203 | 13201 | | |
| |||
0 commit comments