Address PR review feedback - remove warning

Signed-off-by: nscipione <nicolo.scipione@codeplay.com>
This commit is contained in:
nscipione 2025-01-16 11:22:56 +01:00
parent d8956a4ce3
commit 963b685075

View file

@ -1226,7 +1226,7 @@ struct ggml_sycl_pool_host : public ggml_sycl_pool {
*actual_size = size;
counter = counter + 1;
return ptr;
} else if (b.ptr != nullptr) {
} else {
++counter;
b.size = size;
return b.ptr;