Reuse f_browse function from f_browsedir

The bodies of f_browse() and f_browsedir() were identical.
This commit is contained in:
Anton Ovchinnikov 2015-03-15 10:52:53 +01:00 committed by Justin M. Keyes
parent b81ec82533
commit 4fd8c3cbbb

View File

@ -7287,8 +7287,7 @@ static void f_browse(typval_T *argvars, typval_T *rettv)
*/
static void f_browsedir(typval_T *argvars, typval_T *rettv)
{
rettv->vval.v_string = NULL;
rettv->v_type = VAR_STRING;
f_browse(argvars, rettv);
}