Try to satisfy scrutinizer

This commit is contained in:
Hadi Nategh 2016-06-01 16:40:52 +02:00
parent 06dee154d0
commit 31e47ec8f3

View File

@ -385,8 +385,10 @@ app.classes.mail = AppJS.extend(
case 'add': case 'add':
tree.refreshItem(0); // refresh root tree.refreshItem(0); // refresh root
break; break;
default: // null
} }
} }
return undefined;
}, },
/** /**
@ -4739,7 +4741,7 @@ app.classes.mail = AppJS.extend(
/** /**
* Window title getter function in order to set the window title * Window title getter function in order to set the window title
* *
* @returns {string} window title * @returns {string|undefined} window title
*/ */
getWindowTitle: function () getWindowTitle: function ()
{ {
@ -4755,6 +4757,7 @@ app.classes.mail = AppJS.extend(
if (widget) return widget.get_value(); if (widget) return widget.get_value();
break; break;
} }
return undefined;
}, },
/** /**