Skip to content

Commit bcbd796

Browse files
author
zhouwg
committed
build: build with cygwin on Windows --- make CI happy
1 parent 1cec9f1 commit bcbd796

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/llama-mmap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ struct llama_mlock::impl {
481481
// Skip resource limit checks on visionOS/tvOS
482482
suggest = false;
483483
#else
484-
struct rlimit lock_limit;
484+
struct rlimit lock_limit = {};
485485
//if (suggest && getrlimit(RLIMIT_MEMLOCK, &lock_limit)) {
486486
// suggest = false;
487487
//}

0 commit comments

Comments
 (0)