mirror of https://github.com/AxioDL/amuse.git
Voice: Fix -Wmaybe-uninitialized with GCC9
This commit is contained in:
parent
454424b8b3
commit
df7136d265
|
@ -186,7 +186,7 @@ static T ApplyVolume(float vol, T samp) {
|
|||
}
|
||||
|
||||
void Voice::_procSamplePre(int16_t& samp) {
|
||||
double dt;
|
||||
double dt = 0.0;
|
||||
|
||||
/* Block linearized will use a larger `dt` for amplitude sampling;
|
||||
* significantly reducing the processing expense */
|
||||
|
|
Loading…
Reference in New Issue