| ... | @@ -176,9 +176,9 @@ static int find_zig_lib_dir(Buf *out_path) { | ... | @@ -176,9 +176,9 @@ static int find_zig_lib_dir(Buf *out_path) { |
| 176 | int err; | 176 | int err; |
| 177 | | 177 | |
| 178 | Buf self_exe_path = BUF_INIT; | 178 | Buf self_exe_path = BUF_INIT; |
| | 179 | buf_resize(&self_exe_path, 0); |
| 179 | if (!(err = os_self_exe_path(&self_exe_path))) { | 180 | if (!(err = os_self_exe_path(&self_exe_path))) { |
| 180 | Buf *cur_path = &self_exe_path; | 181 | Buf *cur_path = &self_exe_path; |
| 181 | buf_resize(cur_path, 0); | | |
| 182 | | 182 | |
| 183 | for (;;) { | 183 | for (;;) { |
| 184 | Buf *test_dir = buf_alloc(); | 184 | Buf *test_dir = buf_alloc(); |