Conversation

But of course, assigning it to a local variable that never gets read ISN'T ignoring it though. BAD: (void)strobe_randomize(&rng_save, rng_save_len); GOOD: { int r; r = strobe_randomize(&rng_save, rng_save_len); } *facepalm*
1
2
Replying to and
I'm also probably a crazy one for thinking that it should be an error to ignore the return value in ALL cases. And that you have to (void) it out if you really want to not check the possible error that the function returns.
1
Show replies