Removed multiple delcartions of path_list from autoload_names() in fuction.cpp

This commit is contained in:
Siteshwar Vashisht 2012-01-14 12:06:16 +05:30
parent 3ba6e9db5d
commit f78c4fa751

View file

@ -152,7 +152,6 @@ static void autoload_names( array_list_t *out, int get_hidden )
{ {
size_t i; size_t i;
array_list_t path_list;
const wcstring path_var_wstr = env_get_string( L"fish_function_path" ); const wcstring path_var_wstr = env_get_string( L"fish_function_path" );
const wchar_t *path_var = path_var_wstr.empty()?NULL:path_var_wstr.c_str(); const wchar_t *path_var = path_var_wstr.empty()?NULL:path_var_wstr.c_str();