mirror of
https://github.com/libretro/RetroArch
synced 2025-02-22 21:40:40 +00:00
avoid some implicit memsets
This commit is contained in:
parent
9e309032d4
commit
9b6b055047
@ -99,10 +99,12 @@ static bool create_filter_graph(rarch_dsp_filter_t *dsp, float sample_rate)
|
||||
{
|
||||
struct config_file_userdata userdata;
|
||||
struct dspfilter_info info;
|
||||
char key[64] = {0};
|
||||
char name[64] = {0};
|
||||
char key[64];
|
||||
char name[64];
|
||||
|
||||
info.input_rate = sample_rate;
|
||||
key[0] = name[0] = '\0';
|
||||
|
||||
info.input_rate = sample_rate;
|
||||
|
||||
snprintf(key, sizeof(key), "filter%u", i);
|
||||
|
||||
|
@ -136,11 +136,12 @@ static bool create_softfilter_graph(rarch_softfilter_t *filt,
|
||||
{
|
||||
unsigned input_fmts, input_fmt, output_fmts, i = 0;
|
||||
struct config_file_userdata userdata;
|
||||
char key[64] = {0};
|
||||
char name[64] = {0};
|
||||
char key[64], name[64];
|
||||
|
||||
(void)i;
|
||||
|
||||
key[0] = name[0] = '\0';
|
||||
|
||||
snprintf(key, sizeof(key), "filter");
|
||||
|
||||
if (!config_get_array(filt->conf, key, name, sizeof(name)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user