addressing simple gcc warnings