Fix "statement with no effect" warning