Ticket #348 (closed defect: fixed)
compilation warning: declaration of 'o' shadows a previous local
| Reported by: | rdiez | Owned by: | lennart |
|---|---|---|---|
| Milestone: | 0.9.12 | Component: | libpulse |
| Keywords: | Cc: |
Description
This compilation warning should be removed:
pulsecore/object.c: In function `pa_object_new_internal': pulsecore/object.c:44: warning: declaration of 'o' shadows a previous local pulsecore/object.c:30: warning: shadowed declaration is here
Proposed fix: in object.h there is this declaration:
#define pa_object_free ((void (*) (pa_object* o)) pa_xfree)
I would try to remove the "o". If that does not work, just rename it to something pretty unlikely to hit like "pa_object_free_object".
Change History
Note: See
TracTickets for help on using
tickets.
