Origin: debian
Forwarded: https://github.com/igraph/igraph/pull/2640
Last-Update: 2024-06-28
This patch silences a unused-but-set-variable warning as detected
by gcc (Debian 13.3.0-1) in `tests/benchmarks/intersection.c'. It is meant to
be submitted to the upstream maintainer.
Gbp-Pq: Name upstream-silence-tests-benchmarks-unused_but_set_variable.patch
* with future compiler versions. */
volatile igraph_integer_t res;
BENCH(msg, REPEAT(res = igraph_vector_int_intersection_size_sorted(&a, &b), rep));
+ (void) res; /* silence unused-but-set-variable warning */
igraph_vector_int_destroy(&a);
igraph_vector_int_destroy(&b);