mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 08:51:14 -03:00
Remove a few warnings
darcs-hash:20060116134244-ac50b-123a615eb94803f721213d81b676893bc4159104.gz
This commit is contained in:
@@ -152,7 +152,7 @@ static int wildcard_complete_internal( const wchar_t *orig,
|
||||
}
|
||||
else
|
||||
{
|
||||
wchar_t *this_desc = desc;
|
||||
const wchar_t *this_desc = desc;
|
||||
|
||||
if( desc_func )
|
||||
{
|
||||
@@ -161,7 +161,7 @@ static int wildcard_complete_internal( const wchar_t *orig,
|
||||
it. If it returns something, use that as the
|
||||
description.
|
||||
*/
|
||||
wchar_t *func_desc = desc_func( orig );
|
||||
const wchar_t *func_desc = desc_func( orig );
|
||||
if( func_desc )
|
||||
this_desc = func_desc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user