diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-04-04 12:05:21 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-04 12:05:21 +0100 |
| commit | 19e056a80619f91fad04ce73950ed122c2a11881 (patch) | |
| tree | 87ec70d6249904aec38aca15945f1b482afa0b79 /src/path.cpp | |
| parent | d9f990d42e2a1bccf3e7be8ba02efa6504e9af9b (diff) | |
| parent | 4495f0f0f245e4534aa39e153176b42b4d2db8f6 (diff) | |
Merge pull request #4997 from IllusionMan1212/android-fixes
A few fixes for android
Diffstat (limited to 'src/path.cpp')
| -rw-r--r-- | src/path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path.cpp b/src/path.cpp index 12f8d3d4e..d5e982088 100644 --- a/src/path.cpp +++ b/src/path.cpp @@ -81,7 +81,7 @@ String get_working_directory(gbAllocator allocator) { auto buf = array_make<char>(temporary_allocator()); size_t size = PATH_MAX; - char const *cwd; + char const *cwd = nullptr; for (; cwd == nullptr; size *= 2) { array_resize(&buf, size); |