-
- Downloads
Fix GCC 4.6's new -Wunused-but-set-variable warnings.
Most instances were dead code; for those, I removed the assignments. Some were pieces of info we don't currently plan to use, but which we might in the future. For those, I added an explicit cast-to-void to indicate that we know that the thing's unused. Finally, one was a case where we were testing the wrong variable in a unit test. That one I fixed. This resolves bug 3208.
Showing
- changes/bug3208 2 additions, 0 deletionschanges/bug3208
- src/or/circuitbuild.c 0 additions, 3 deletionssrc/or/circuitbuild.c
- src/or/command.c 1 addition, 0 deletionssrc/or/command.c
- src/or/control.c 0 additions, 2 deletionssrc/or/control.c
- src/or/directory.c 0 additions, 2 deletionssrc/or/directory.c
- src/or/dirvote.c 1 addition, 2 deletionssrc/or/dirvote.c
- src/or/eventdns.c 3 additions, 0 deletionssrc/or/eventdns.c
- src/test/test_crypto.c 3 additions, 1 deletionsrc/test/test_crypto.c
Loading
Please register or sign in to comment