Remove an unused variable in FormatValue<double>
authorBrett Simmers <bsimmers@fb.com>
Wed, 27 Mar 2013 20:14:37 +0000 (13:14 -0700)
committerJordan DeLong <jdelong@fb.com>
Sun, 21 Apr 2013 20:19:24 +0000 (13:19 -0700)
Test Plan: Built a program that uses it

Reviewed By: tudorb@fb.com

FB internal diff: D753460

folly/Format-inl.h

index 831d3c82149a5420f9c073ff3bc0583bfc3d62e2..c8c90418693ec75b2254042bb51bdc0591eb6d1c 100644 (file)
@@ -562,8 +562,6 @@ class FormatValue<double> {
       arg.precision = 6;
     }
 
-    bool done = false;
-
     // 2+: for null terminator and optional sign shenanigans.
     char buf[2 + std::max({
         (2 + DoubleToStringConverter::kMaxFixedDigitsBeforePoint +