1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-19 17:40:51 +02:00

fixed a "used uninitialized" warning in src/effects/Amplify.cpp

This commit is contained in:
andheh 2018-02-15 14:56:53 +01:00 committed by James Crook
parent 809167d932
commit b71c24f15f

View File

@ -775,7 +775,7 @@ inline long TrapLong(long x, long min, long max)
static const type SCL_ ## name = (scale); static const type SCL_ ## name = (scale);
#define ReadParam(type, name) \ #define ReadParam(type, name) \
type name; \ type name = DEF_ ## name; \
if (!parms.ReadAndVerify(KEY_ ## name, &name, DEF_ ## name, MIN_ ## name, MAX_ ## name)) \ if (!parms.ReadAndVerify(KEY_ ## name, &name, DEF_ ## name, MIN_ ## name, MAX_ ## name)) \
return false; return false;