From 0627899b489d2d7ebe3e3733e27f3fd39a619b53 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Wed, 3 Sep 2014 17:44:05 +0200 Subject: Don't verify result of String_convert::dec2int The error behavior is not useful and triggers on things like "00". --- flower/string-convert.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'flower') 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; } -- cgit v1.2.3