[tor-bugs] #24634 [Core Tor/Tor]: test_hs_common.c:974:33: warning: declaration of 'time' shadows a global declaration

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Dec 15 12:03:47 UTC 2017


#24634: test_hs_common.c:974:33: warning: declaration of 'time' shadows a global
declaration
-----------------------------+------------------------------------
 Reporter:  asn              |          Owner:  (none)
     Type:  defect           |         Status:  new
 Priority:  Medium           |      Milestone:  Tor: 0.3.2.x-final
Component:  Core Tor/Tor     |        Version:
 Severity:  Normal           |     Resolution:
 Keywords:  tor-hs, jenkins  |  Actual Points:
Parent ID:                   |         Points:  0.1
 Reviewer:                   |        Sponsor:
-----------------------------+------------------------------------

Comment (by weasel):

 {{{
 weasel at orinoco:~$ grep -i shadows consoleText | sort -u
 ../src/or/hs_common.c:987:21: warning: declaration of 'dup' shadows a
 global declaration [-Wshadow]
 ../src/or/hs_service.c:1193:31: warning: declaration of 'dup' shadows a
 global declaration [-Wshadow]
 ../src/or/hs_service.c:2279:20: warning: declaration of 'index' shadows a
 global declaration [-Wshadow]
 ../src/test/test_hs_common.c:974:33: warning: declaration of 'time'
 shadows a global declaration [-Wshadow]
 }}}

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


More information about the tor-bugs mailing list