Remove warning message if no scope; the outermost call never has an enclosing scope