Skip to content

Commit

Permalink
(audio_dsp_filter.c) Buildfix
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Sep 29, 2015
1 parent 4f88912 commit 1f1d58b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions audio/audio_dsp_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,15 @@ static const dspfilter_get_implementation_t dsp_plugs_builtin[] = {

static bool append_plugs(rarch_dsp_filter_t *dsp, struct string_list *list)
{
unsigned i;
dspfilter_simd_mask_t mask = retro_get_cpu_features();

(void)mask;
(void)list;
(void)i;

#if defined(HAVE_FILTERS_BUILTIN)

dsp->plugs = (struct rarch_dsp_plug*)
calloc(ARRAY_SIZE(dsp_plugs_builtin), sizeof(*dsp->plugs));
if (!dsp->plugs)
Expand All @@ -166,8 +169,6 @@ static bool append_plugs(rarch_dsp_filter_t *dsp, struct string_list *list)
return false;
}
#elif defined(HAVE_DYLIB)
unsigned i;

for (i = 0; i < list->size; i++)
{
dspfilter_get_implementation_t cb;
Expand Down

0 comments on commit 1f1d58b

Please sign in to comment.