summaryrefslogtreecommitdiff
path: root/core/fxcrt/bytestring.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-11-07 14:04:19 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-07 14:04:19 +0000
commit80f046b41bb0c85fc18dc68d89be8469f3dab434 (patch)
tree86fefa8496aed39a7acd0ca9a9f49631bf2f5d04 /core/fxcrt/bytestring.cpp
parent064a3e108b2a2aefde6e0be5f7246b02af6f8aab (diff)
downloadpdfium-80f046b41bb0c85fc18dc68d89be8469f3dab434.tar.xz
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 <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxcrt/bytestring.cpp')
-rw-r--r--core/fxcrt/bytestring.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcrt/bytestring.cpp b/core/fxcrt/bytestring.cpp
index 704cdd46aa..ad3814b57e 100644
--- a/core/fxcrt/bytestring.cpp
+++ b/core/fxcrt/bytestring.cpp
@@ -783,7 +783,7 @@ void ByteString::TrimLeft() {
TrimLeft("\x09\x0a\x0b\x0c\x0d\x20");
}
-ByteString ByteString::FormatFloat(float d, int precision) {
+ByteString ByteString::FormatFloat(float d) {
char buf[32];
return ByteString(buf, FX_ftoa(d, buf));
}