[tor-bugs] #19132 [Core Tor/Tor]: shared random: missing field 'fetch_missing_votes' initializer

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu May 19 23:08:22 UTC 2016


#19132: shared random: missing field 'fetch_missing_votes' initializer
------------------------------+--------------------------------
     Reporter:  teor          |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.2.9.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:  #16943
       Points:  0.1           |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 dgoulet's ticket16943_029_02 fails to compile on OS X with `Apple LLVM
 version 7.3.0 (clang-703.0.31)`:
 {{{
 src/or/dirvote.c:2547:46: error: missing field 'fetch_missing_votes'
 initializer
       [-Werror,-Wmissing-field-initializers]
 }}}

 Even though this is perfectly legal C for "initialise the whole structure
 to zero".

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


More information about the tor-bugs mailing list