A quarter of retirees are relying on an inheritance. Here’s why you shouldn’t