diff --git a/lib/util.js b/lib/util.js index ded9b4a2..8ee1a27d 100644 --- a/lib/util.js +++ b/lib/util.js @@ -838,7 +838,7 @@ * @pArg */ this.execIfExist = function(pObj, pName, pArg) { - var ret, bind, + var ret, func = pObj && pObj[pName]; if (func) {