From fd47fe4006a54559e0bc97b056a3503bd03e31b2 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 2 Sep 2022 18:23:03 +0200 Subject: Cleanup: fix compiler warning --- intern/cycles/kernel/sample/pattern.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'intern') diff --git a/intern/cycles/kernel/sample/pattern.h b/intern/cycles/kernel/sample/pattern.h index fa48cc216af..ebdecc1bff9 100644 --- a/intern/cycles/kernel/sample/pattern.h +++ b/intern/cycles/kernel/sample/pattern.h @@ -106,6 +106,8 @@ ccl_device_inline bool sample_is_class_A(int pattern, int sample) */ return hash_hp_seeded_uint(sample, 0xa771f873) & 1; } +#else + (void)pattern; #endif /* This follows the approach from section 10.2.1 of "Progressive -- cgit v1.2.3