fix Windows return statement

This commit is contained in:
Johannes Gäßler 2025-01-03 15:46:41 +01:00
parent e8ac0945ca
commit 0857839001

View file

@ -1084,7 +1084,7 @@ static std::pair<int, int> test_roundtrip(ggml_backend_dev_t dev, const unsigned
if (!file) { if (!file) {
printf("%s: failed to create tmpfile(), needs elevated privileges on Windows"); printf("%s: failed to create tmpfile(), needs elevated privileges on Windows");
printf("%s: skipping tests"); printf("%s: skipping tests");
return; return std::make_pair(0, 0);
} }
#else #else
GGML_ASSERT(file); GGML_ASSERT(file);