warning C4715: 'check_island' : not all control paths return a value