ViewerGL: fix dead store