Ticket #347 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.
