Skip to content

Commit f6d12e7

Browse files
committed
tests : fix compile warning
1 parent b756441 commit f6d12e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test-quantize-fns.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ static float dot_product(const float * a1, const float * a2, size_t test_size) {
7979
}
8080

8181
// Total dot product error
82-
static float dot_product_error(
83-
const ggml_type_traits * qfns, const ggml_type_traits_cpu * qfns_cpu, size_t test_size, const float * test_data1, const float *test_data2
84-
) {
82+
static float dot_product_error(const ggml_type_traits * qfns, const ggml_type_traits_cpu * qfns_cpu, size_t test_size, const float * test_data1, const float * test_data2) {
83+
GGML_UNUSED(qfns);
84+
8585
std::vector<uint8_t> tmp_q1(2*test_size);
8686
std::vector<uint8_t> tmp_q2(2*test_size);
8787

0 commit comments

Comments
 (0)