Remove unused fluid_tuning_set_key and fluid_is_empty

This commit is contained in:
Marcus Weseloh 2017-11-24 10:31:02 +01:00
parent 036cb1d347
commit c605380aa8
3 changed files with 0 additions and 18 deletions

View file

@ -2182,18 +2182,6 @@ fluid_is_number(char* a)
return TRUE; return TRUE;
} }
int
fluid_is_empty(char* a)
{
while (*a != 0) {
if ((*a != ' ') && (*a != '\t') && (*a != '\n') && (*a != '\r')) {
return FALSE;
}
a++;
}
return TRUE;
}
char* char*
fluid_expand_path(char* path, char* new_path, int len) fluid_expand_path(char* path, char* new_path, int len)
{ {

View file

@ -29,7 +29,6 @@ void fluid_shell_settings(fluid_settings_t* settings);
/** some help functions */ /** some help functions */
int fluid_is_number(char* a); int fluid_is_number(char* a);
int fluid_is_empty(char* a);
char* fluid_expand_path(char* path, char* new_path, int len); char* fluid_expand_path(char* path, char* new_path, int len);
/** the handlers for the command lines */ /** the handlers for the command lines */

View file

@ -145,11 +145,6 @@ char* fluid_tuning_get_name(fluid_tuning_t* tuning)
return tuning->name; return tuning->name;
} }
void fluid_tuning_set_key(fluid_tuning_t* tuning, int key, double pitch)
{
tuning->pitch[key] = pitch;
}
void fluid_tuning_set_octave(fluid_tuning_t* tuning, const double* pitch_deriv) void fluid_tuning_set_octave(fluid_tuning_t* tuning, const double* pitch_deriv)
{ {
int i; int i;