Avoid some "statement with no effect" warnings from gcc.