diff options
Diffstat (limited to 'core/fxcrt/cfx_bytestring.cpp')
-rw-r--r-- | core/fxcrt/cfx_bytestring.cpp | 6 |
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; |