Permalink
Browse files

consted a var

  • Loading branch information...
1 parent f99d63c commit 968fcad160b7b1ea8017872b9560b1c551a20bc5 @petdance petdance committed Apr 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ops/math.ops
View
@@ -342,7 +342,7 @@ inline op fdiv(out INT, in INT, in INT) :base_core {
}
inline op fdiv(out NUM, in NUM, in NUM) :base_core {
- FLOATVAL den = $3;
+ const FLOATVAL den = $3;
if (FLOAT_IS_ZERO(den)) {
opcode_t * const handler = Parrot_ex_throw_from_op_args(interp, expr NEXT(),
EXCEPTION_DIV_BY_ZERO,

0 comments on commit 968fcad

Please sign in to comment.