Merge pull request #834 from FluidSynth/fix-gcc-warnings

Fix two gcc warnings
This commit is contained in:
Marcus Weseloh 2021-04-10 15:27:46 +02:00 committed by GitHub
commit 1eda0ae863
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1241,7 +1241,10 @@ fluid_handle_reverb_command(void *data, int ac, char **av, fluid_ostream_t out,
/* name and min/max values table */
static struct value values[FLUID_REVERB_PARAM_LAST] =
{
{"room size"}, {"damp"}, {"width"}, {"level"}
{"room size", 0, 0},
{"damp", 0, 0},
{"width", 0, 0},
{"level", 0, 0}
};
FLUID_ENTRY_COMMAND(data);
@ -3553,7 +3556,7 @@ enum
int fluid_handle_player_cde(void *data, int ac, char **av, fluid_ostream_t out, int cmd)
{
FLUID_ENTRY_COMMAND(data);
int arg, was_running;
int arg = 0, was_running;
int seek = -1; /* current seek position in tick */
/* commands name table */