Skip to content

Commit

Permalink
remove float precision warning (fixed by faust)
Browse files Browse the repository at this point in the history
  • Loading branch information
pierreguillot committed Aug 23, 2018
1 parent 86fc9a6 commit 41aaa25
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/faust_tilde_options.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ static void faust_opt_manager_free_compile_options(t_faust_opt_manager *x)
char faust_opt_manager_parse_compile_options(t_faust_opt_manager *x, size_t const argc, const t_atom* argv)
{
char has_include = 0;
char has_precision = 0;
faust_opt_manager_free_compile_options(x);
if(argc && argv)
{
Expand All @@ -102,17 +101,6 @@ char faust_opt_manager_parse_compile_options(t_faust_opt_manager *x, size_t cons
{
has_include = 1;
}
else if(!strncmp(x->f_options[i], "-double", 7) ||
!strncmp(x->f_options[i], "-single", 7) ||
!strncmp(x->f_options[i], "-quad", 5))
{
if(has_precision)
{
pd_error(x->f_owner, "faustgen~: floating-point format already defined");
memset(x->f_options[i], 0, MAXFAUSTSTRING);
}
has_precision = 1;
}
}
else
{
Expand Down

0 comments on commit 41aaa25

Please sign in to comment.