src/util/hash_table.h:111:23: warning: ‘_mesa_fnv32_1a_offset_bias’ defined but not used [-Wunused-const-variable]
static const uint32_t _mesa_fnv32_1a_offset_bias = 2166136261u;
^~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
return _mesa_hash_data(&pointer, sizeof(pointer));
}
-static const uint32_t _mesa_fnv32_1a_offset_bias = 2166136261u;
+enum {
+ _mesa_fnv32_1a_offset_bias = 2166136261u,
+};
static inline uint32_t
_mesa_fnv32_1a_accumulate_block(uint32_t hash, const void *data, size_t size)