aboutsummaryrefslogtreecommitdiff
path: root/src/string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/string.cpp')
-rw-r--r--src/string.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/string.cpp b/src/string.cpp
index 8cc0e93f3..2087a5fee 100644
--- a/src/string.cpp
+++ b/src/string.cpp
@@ -658,7 +658,6 @@ gb_internal String normalize_path(gbAllocator a, String const &path, String cons
-// TODO(bill): Make this non-windows specific
gb_internal String16 string_to_string16(gbAllocator a, String s) {
int len, len1;
u16 *text;
@@ -680,7 +679,6 @@ gb_internal String16 string_to_string16(gbAllocator a, String s) {
return make_string16(nullptr, 0);
}
text[len] = 0;
-
return make_string16(text, len);
}