diff options
author | Chris Robinson <[email protected]> | 2016-07-26 11:45:20 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-07-26 12:02:03 -0700 |
commit | 5e11a738c6b18a367070450ec46dfb714fe433d7 (patch) | |
tree | bb298e6d200b486067c34c7496f6c638169f2a8e /Alc/backends/pulseaudio.c | |
parent | d2eb866abeb699394a35610b4764c8e42acc71b5 (diff) |
Combine VECTOR_RESIZE and VECTOR_RESERVE
Diffstat (limited to 'Alc/backends/pulseaudio.c')
-rw-r--r-- | Alc/backends/pulseaudio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/pulseaudio.c b/Alc/backends/pulseaudio.c index d317b576..220c1b7d 100644 --- a/Alc/backends/pulseaudio.c +++ b/Alc/backends/pulseaudio.c @@ -443,7 +443,7 @@ static void clear_devlist(vector_DevMap *list) #define DEINIT_STRS(i) (AL_STRING_DEINIT((i)->name),AL_STRING_DEINIT((i)->device_name)) VECTOR_FOR_EACH(DevMap, *list, DEINIT_STRS); #undef DEINIT_STRS - VECTOR_RESIZE(*list, 0); + VECTOR_RESIZE(*list, 0, 0); } |