From b71c24f15f8aeb17410f7b83df273f35caec9824 Mon Sep 17 00:00:00 2001 From: andheh <36114788+andheh@users.noreply.github.com> Date: Thu, 15 Feb 2018 14:56:53 +0100 Subject: [PATCH] fixed a "used uninitialized" warning in src/effects/Amplify.cpp --- src/effects/Effect.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/effects/Effect.h b/src/effects/Effect.h index f6b7dee1c..3e91869da 100644 --- a/src/effects/Effect.h +++ b/src/effects/Effect.h @@ -775,7 +775,7 @@ inline long TrapLong(long x, long min, long max) static const type SCL_ ## name = (scale); #define ReadParam(type, name) \ - type name; \ + type name = DEF_ ## name; \ if (!parms.ReadAndVerify(KEY_ ## name, &name, DEF_ ## name, MIN_ ## name, MAX_ ## name)) \ return false;