Commit 767ce40
committed
Fix unused variable 'to' build failure
In only one of the ifdef cases is the `to` variable used.
Clang on the rebranch branch recognizes this to be unused on the other
branches and emits a warning. This project has `-Werror` enabled, so
this results in a build failure.
I moved the entire code block down closer to where it is used because it
isn't entirely clear based on where it used to sit given the number of
macro ifdef's between declaration and usage.1 parent 0045deb commit 767ce40
1 file changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | 75 | | |
83 | 76 | | |
84 | 77 | | |
| |||
245 | 238 | | |
246 | 239 | | |
247 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| |||
0 commit comments