// res is now considered partially defined, but we know exactly what its
// value is (it happens to be the same as its metavalue).
- VALGRIND_GET_VBITS(&res, &shres, 8);
+ (void)VALGRIND_GET_VBITS(&res, &shres, 8);
res2 = res;
- VALGRIND_MAKE_MEM_DEFINED(&res2, 8); // avoid the 'undefined' warning
+ (void)VALGRIND_MAKE_MEM_DEFINED(&res2, 8); // avoid the 'undefined' warning
assert(res2 == shres);
return res;
}
U1 sh[SZB_OF_a]; // Used for getting a[]'s V bits
int i;
- VALGRIND_GET_VBITS(a, sh, sizeof(a));
+ (void)VALGRIND_GET_VBITS(a, sh, sizeof(a));
for (i = x; i < y; i++) {
if ( expected_byte != sh[i] && expected_byte_alt != sh[i] ) {
fprintf(stderr, "\n\nFAILURE: %s, offset %d, byte %d -- "