[tor-bugs] #15921 [Tor Browser]: unused-but-set-variable (proxyHost and proxyPort) build errors on Mozilla Try

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon May 4 16:48:10 UTC 2015


#15921: unused-but-set-variable (proxyHost and proxyPort) build errors on Mozilla
Try
-----------------------------------+--------------------------
 Reporter:  boklm                  |          Owner:  tbb-team
     Type:  defect                 |         Status:  new
 Priority:  normal                 |      Milestone:
Component:  Tor Browser            |        Version:
 Keywords:  TorBrowserTeam201505R  |  Actual Points:
Parent ID:                         |         Points:
-----------------------------------+--------------------------
 When pushing tor-browser-31.6.0esr-4.5-1 to Mozilla Try, the build fails
 with the following error:
 {{{
     /builds/slave/try-
 lx-d-000000000000000000000/build/src/netwerk/base/src/nsSocketTransport2.cpp:1083:21:
 error: variable 'proxyHost' set but not used [-Werror=unused-but-set-
 variable]
     /builds/slave/try-
 lx-d-000000000000000000000/build/src/netwerk/base/src/nsSocketTransport2.cpp:1084:17:
 error: variable 'proxyPort' set but not used [-Werror=unused-but-set-
 variable]
 }}}
 https://treeherder.mozilla.org/#/jobs?repo=try&revision=f828bf8f28dd

 I am attaching a patch to fix the issue.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15921>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list