From 80f046b41bb0c85fc18dc68d89be8469f3dab434 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 7 Nov 2017 14:04:19 +0000 Subject: Remove unused parameter from ByteString::FormatFloat(). Nobody sets |precision| and the method does not read it either. Change-Id: I0f45fe953c005f817d331cbf73e38f7b15a77b81 Reviewed-on: https://pdfium-review.googlesource.com/17890 Commit-Queue: dsinclair Reviewed-by: dsinclair --- core/fxcrt/bytestring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/fxcrt/bytestring.h') diff --git a/core/fxcrt/bytestring.h b/core/fxcrt/bytestring.h index 6d5843efcd..f534b08b8a 100644 --- a/core/fxcrt/bytestring.h +++ b/core/fxcrt/bytestring.h @@ -182,7 +182,7 @@ class ByteString { uint32_t GetID() const { return AsStringView().GetID(); } static ByteString FormatInteger(int i); - static ByteString FormatFloat(float f, int precision = 0); + static ByteString FormatFloat(float f); protected: using StringData = StringDataTemplate; -- cgit v1.2.3