Ticket #347 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

compilation warning: declaration of 'rewind' shadows a global declaration

Reported by: rdiez Owned by: lennart
Milestone: 0.9.12 Component: libpulse
Keywords: Cc:

Description

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)

Change History

Changed 3 years ago by lennart

  • status changed from new to closed
  • resolution set to fixed

Fixed a while back in git.

Changed 3 years ago by lennart

  • milestone set to 0.9.12
Note: See TracTickets for help on using tickets.