forked from personal/squiggle.c
tweak header to document UNUSED a bit more
This commit is contained in:
parent
d84b92cec2
commit
7efa6b6071
|
@ -30,7 +30,7 @@ double array_std(double* array, int length);
|
||||||
// Mixture function
|
// Mixture function
|
||||||
double sample_mixture(double (*samplers[])(uint64_t*), double* weights, int n_dists, uint64_t* seed);
|
double sample_mixture(double (*samplers[])(uint64_t*), double* weights, int n_dists, uint64_t* seed);
|
||||||
|
|
||||||
// Trick to mute unused variable warning. Useful for nested functions
|
// Macro to mute "unused variable" warning when -Wall -Wextra is enabled. Useful for nested functions
|
||||||
#define UNUSED(x) (void)(x)
|
#define UNUSED(x) (void)(x)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user