Coveriry CID 565: Remove bogus test.
This commit is contained in:
parent
d9cf854027
commit
5e10a3922a
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: midisyn.c,v 1.16 2005/12/11 12:20:53 christos Exp $ */
|
||||
/* $NetBSD: midisyn.c,v 1.17 2006/04/14 21:58:25 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
@ -37,7 +37,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: midisyn.c,v 1.16 2005/12/11 12:20:53 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: midisyn.c,v 1.17 2006/04/14 21:58:25 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/ioctl.h>
|
||||
@ -386,8 +386,6 @@ midisyn_finetune(u_int32_t base_freq, int bend, int range, int vibrato_cents)
|
||||
}
|
||||
|
||||
semitones = bend / 100;
|
||||
if (semitones > 99)
|
||||
semitones = 99;
|
||||
cents = bend % 100;
|
||||
|
||||
amount = semitone_tuning[semitones] * multiplier * cent_tuning[cents]
|
||||
|
Loading…
Reference in New Issue
Block a user