aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/os/str.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/os/str.go b/src/os/str.go
index 242c945caf..2089b548e6 100644
--- a/src/os/str.go
+++ b/src/os/str.go
@@ -6,14 +6,6 @@
package os
-// itox converts val (an int) to a hexadecimal string.
-func itox(val int) string {
- if val < 0 {
- return "-" + uitox(uint(-val))
- }
- return uitox(uint(val))
-}
-
const hex = "0123456789abcdef"
// uitox converts val (a uint) to a hexadecimal string.