Wrap assignment in parentheses

Wrap the assignment in parentheses, otherwise the if will test if you could assign the result of ```hv_fetch_ent``` to ```slot```, not if ```slot``` is ```NULL```.