]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
this is an oportunistic parser, so dont complain
authorTobias Oetiker <tobi@oetiker.ch>
Wed, 20 Aug 2014 15:40:00 +0000 (17:40 +0200)
committerTobias Oetiker <tobi@oetiker.ch>
Wed, 20 Aug 2014 15:40:00 +0000 (17:40 +0200)
src/rrd_rpncalc.c

index 1b3a1c84dde5733aee3f699f2a58ff0b517d4ac8..9b0b5b88f1ae867f28320a05fc56b1c0fb2e1a8d 100644 (file)
@@ -322,7 +322,7 @@ rpnp_t   *rpn_parse(
 
         else if ((sscanf(expr, "%19[-0-9.e+]%n", double_str, &pos) == 1)
                  && (expr[pos] == ',')
-                 && ( rrd_strtodbl( double_str, NULL, &(rpnp[steps].val), "parsing double in RPN expression" ) == 2 )) {
+                 && ( rrd_strtodbl( double_str, NULL, &(rpnp[steps].val), NULL ) == 2 )) {
             rpnp[steps].op = OP_NUMBER;
             expr += pos;
         }