mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-19 09:30:52 +02:00
fixed a "used uninitialized" warning in src/effects/Amplify.cpp
This commit is contained in:
parent
809167d932
commit
b71c24f15f
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user