Fix deprecation warning to not execute code

No match.