diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-08-02 13:11:34 +0100 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2025-08-02 13:11:34 +0100 |
| commit | dca9bf0b0c8a3ad2ac6854c901d99868d3a296d5 (patch) | |
| tree | 20a17e438b0409e45e293264ea7f76fafdd6e13e /src/string.cpp | |
| parent | e049dde582ac6525b9ce470a4af89075408c8de9 (diff) | |
Fix string16 literal length set in LLVM
Diffstat (limited to 'src/string.cpp')
| -rw-r--r-- | src/string.cpp | 2 |
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); } |