From 963b6850751ef6a17c4c58eb6b20d2226fd1ea6c Mon Sep 17 00:00:00 2001 From: nscipione Date: Thu, 16 Jan 2025 11:22:56 +0100 Subject: [PATCH] Address PR review feedback - remove warning Signed-off-by: nscipione --- ggml/src/ggml-sycl/ggml-sycl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml/src/ggml-sycl/ggml-sycl.cpp b/ggml/src/ggml-sycl/ggml-sycl.cpp index 75f1b0f10..1723888ae 100644 --- a/ggml/src/ggml-sycl/ggml-sycl.cpp +++ b/ggml/src/ggml-sycl/ggml-sycl.cpp @@ -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;