summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-14 10:23:39 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-14 10:23:39 -0400
commit1d122d034def5e9f7e0a76159866de0f36ab56f7 (patch)
tree9371a0885b2e118f09c73701bef1a425c541d71d /parser.c
parent726eabd9d302ba8f039dd258f903c71d483eb38f (diff)
String_trim_excess_digits is not needed, since atof "just works" in glib
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/parser.c b/parser.c
index a39fcce..5236250 100644
--- a/parser.c
+++ b/parser.c
@@ -686,8 +686,6 @@ void Parser_main (char *in, int interactive_terminal, void(*cbfunc)(gpointer, gc
if (parameter_found) {
units_found = Parser_get_unit(parameter,units);
- error_num=String_trim_excess_digits(parameter);
- error_num=String_trim_excess_digits(units);
}
if (!error_num) {