diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-02-08 00:05:44 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-02-08 00:05:44 +0000 |
commit | bc81784acdb7beadae0cc705ebadbd8f365f30ba (patch) | |
tree | a6de6132ac5e4992a490715630246964247142fd /pp.c | |
parent | 3658c1f1e67f531ad4ee20e8c748aec14b993c44 (diff) | |
download | perl-bc81784acdb7beadae0cc705ebadbd8f365f30ba.tar.gz |
Borland's C compiler warns that the & is unnecessary.
p4raw-id: //depot/perl@27127
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -2628,26 +2628,26 @@ PP(pp_sin) dVAR; dSP; dTARGET; int amg_type = sin_amg; const char *neg_report = NULL; - NV (*func)(NV) = &Perl_sin; + NV (*func)(NV) = Perl_sin; const int op_type = PL_op->op_type; switch (op_type) { case OP_COS: amg_type = cos_amg; - func = &Perl_cos; + func = Perl_cos; break; case OP_EXP: amg_type = exp_amg; - func = &Perl_exp; + func = Perl_exp; break; case OP_LOG: amg_type = log_amg; - func = &Perl_log; + func = Perl_log; neg_report = "log"; break; case OP_SQRT: amg_type = sqrt_amg; - func = &Perl_sqrt; + func = Perl_sqrt; neg_report = "sqrt"; break; } |