From cd9bb850caeca88747a25436fc65c67c6d5cd89a Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 27 Aug 2016 20:49:03 -0700 Subject: 3266 --- html/010vm.cc.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'html/010vm.cc.html') diff --git a/html/010vm.cc.html b/html/010vm.cc.html index 508f7483..cc6b5360 100644 --- a/html/010vm.cc.html +++ b/html/010vm.cc.html @@ -684,13 +684,13 @@ ostream& operator<<(const string& in) { if (in.empty()) return ""; - int len = SIZE(in); - while (len > 1) { - if (in.at(len-1) != '0') break; - --len; + int length = SIZE(in); + while (length > 1) { + if (in.at(length-1) != '0') break; + --length; } - if (in.at(len-1) == '.') --len; - return in.substr(0, len); + if (in.at(length-1) == '.') --length; + return in.substr(0, length); } void test_trim_floating_point() { -- cgit 1.4.1-2-gfad0