unused code

This commit is contained in:
Mike Jolley 2016-06-06 17:00:38 +01:00
parent 95db35e1de
commit b2835720c3
2 changed files with 1 additions and 3 deletions

View File

@ -104,7 +104,6 @@ if ( ! class_exists( 'WC_Eval_Math' ) ) {
$index = 0;
$stack = new WC_Eval_Math_Stack;
$output = array(); // postfix form of expression, to be passed to pfx()
// $expr = trim(strtolower($expr));
$expr = trim( $expr );
$ops = array( '+', '-', '*', '/', '^', '_' );

View File

@ -14,7 +14,7 @@ if ( ! class_exists( 'WC_Eval_Math' ) ) {
public static $last_error = null;
/** @var array */
public static $v = array( 'e' => 2.71, 'pi' => 3.14 ); // variables (and constants)
public static $v = array( 'e' => 2.71, 'pi' => 3.14 );
/** @var array */
public static $f = array(); // user-defined functions
@ -83,7 +83,6 @@ if ( ! class_exists( 'WC_Eval_Math' ) ) {
$index = 0;
$stack = new WC_Eval_Math_Stack;
$output = array(); // postfix form of expression, to be passed to pfx()
// $expr = trim(strtolower($expr));
$expr = trim( $expr );
$ops = array( '+', '-', '*', '/', '^', '_' );