#347: compilation warning: declaration of 'rewind' shadows a global declaration
----------------------+-----------------------------------------------------
 Reporter:  rdiez     |       Owner:  lennart
     Type:  defect    |      Status:  new    
 Priority:  low       |   Milestone:         
Component:  libpulse  |    Severity:  trivial
 Keywords:            |  
----------------------+-----------------------------------------------------
 This compilation warning should be removed:

 ./pulsecore/memblockq.h:158: warning: declaration of 'rewind' shadows a
 global declaration

 This is what causes the warning:

   void pa_memblockq_set_maxrewind(pa_memblockq *memblockq, size_t rewind);

 Proposed fix: rename "rewind" parameter to "maxrewind" (this matches this
 parameter's name in the counterpart function definition in memblockq.c)

-- 
Ticket URL: <http://pulseaudio.org/ticket/347>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
_______________________________________________
pulseaudio-tickets mailing list
pulseaudio-tickets@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets

Reply via email to