martin-lueders / ML_modules

free modules for VCV Rack
BSD 3-Clause "New" or "Revised" License
90 stars 18 forks source link

Compiler warning in TrigBuf.cpp line 143 #47

Closed MarcBoule closed 5 years ago

MarcBoule commented 5 years ago

Hi Martin, just thought you might want to know about this warning when compiling your v1 branch:

src/TrigBuf.cpp:143:9: warning: address of array 'this->gate2' will always
      evaluate to 'true' [-Wpointer-bool-conversion]
                        if (!gate2) {arm2[c] = 10.0f;}
                            ~^~~~~
1 warning generated.
martin-lueders commented 5 years ago

Thanks. Fixed now.