Don't warn about undef defaults
Don't warn about undef defaults

This check would dereference defaults on the assumption that they would
always be set.

This is not correct, so the assumption would break.

Fix by adding an explicit check for undef before the comparison.

yoe/sreview,yoe/sreview,yoe/sreview,yoe/sreview