diff options
author | David Kastrup <dak@gnu.org> | 2014-09-03 17:44:05 +0200 |
---|---|---|
committer | David Kastrup <dak@gnu.org> | 2014-09-08 09:33:17 +0200 |
commit | 0627899b489d2d7ebe3e3733e27f3fd39a619b53 (patch) | |
tree | 2a437076a181805ee1c925bddcfe1164b5f0d6c8 /flower | |
parent | 5111c76457bd1f707ff14b424988c0203cb5964b (diff) |
Don't verify result of String_convert::dec2int
The error behavior is not useful and triggers on things like "00".
Diffstat (limited to 'flower')
-rw-r--r-- | flower/string-convert.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/flower/string-convert.cc b/flower/string-convert.cc index 745a98ecea..e3e8bc824d 100644 --- a/flower/string-convert.cc +++ b/flower/string-convert.cc @@ -85,8 +85,6 @@ String_convert::dec2int (const string &dec_string) if (!sscanf (dec_string.c_str (), "%ld", &l)) assert (false); - assert (form_string ("%ld", l) == dec_string); - return (int)l; } |