Skip to content

Commit

Permalink
Remove unnecessary var
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoar committed Dec 21, 2019
1 parent 77e3bd0 commit ce225a5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/PolyVolt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ using namespace ah;

struct Quantiser {

float inVolts;

int octave = 0;
int semitone = 0;
int cents = 0;
Expand All @@ -29,9 +27,8 @@ struct Quantiser {
cents = 0;
}

float calculate(float v, bool quantise) {
float calculate(float inVolts, bool quantise) {

inVolts = v;
float outVolts = 0.0f;

if (quantise) {
Expand Down

0 comments on commit ce225a5

Please sign in to comment.