summaryrefslogtreecommitdiff
path: root/core/fxcrt/cfx_bytestring.cpp
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2017-08-31 17:40:52 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-31 22:28:44 +0000
commitffb6ccf6a2699cbb2bfc925c96609fae5124f51f (patch)
treeb7d34e4d6b9fd8568a709f8bd4870749d5112bdb /core/fxcrt/cfx_bytestring.cpp
parent1e8dd54c54a04d5f5ee249db22f84001fa16101e (diff)
downloadpdfium-ffb6ccf6a2699cbb2bfc925c96609fae5124f51f.tar.xz
Remove unused FXFORMAT_HEX and FXFORMAT_CAPITAL.
Change-Id: I13140ea4242db4b0860f8fdd164f50d1745c0794 Reviewed-on: https://pdfium-review.googlesource.com/12790 Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fxcrt/cfx_bytestring.cpp')
-rw-r--r--core/fxcrt/cfx_bytestring.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/fxcrt/cfx_bytestring.cpp b/core/fxcrt/cfx_bytestring.cpp
index efe49f8fd6..a8b65b5c2f 100644
--- a/core/fxcrt/cfx_bytestring.cpp
+++ b/core/fxcrt/cfx_bytestring.cpp
@@ -40,12 +40,6 @@ int Buffer_itoa(char* buf, int i, uint32_t flags) {
}
int base = 10;
const char* str = "0123456789abcdef";
- if (flags & FXFORMAT_HEX) {
- base = 16;
- if (flags & FXFORMAT_CAPITAL) {
- str = "0123456789ABCDEF";
- }
- }
while (u != 0) {
buf1[buf_pos--] = str[u % base];
u = u / base;