Skip to content

Commit

Permalink
don't save oldz, we never read it back
Browse files Browse the repository at this point in the history
Thanks -Werror=unused-variable
  • Loading branch information
evgeni committed May 28, 2024
1 parent b9dd84b commit 553fa41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hdapsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1235,7 +1235,7 @@ int main (int argc, char** argv)
unow = get_utime(); /* microsec */
} else {
double oldunow = unow;
int oldx = x, oldy = y, oldz = z;
int oldx = x, oldy = y;
ret = read_position_from_inputdev (&x, &y, &z, &unow);

/*
Expand Down

0 comments on commit 553fa41

Please sign in to comment.