mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 06:41:14 -03:00
Clean up some warnings and some unused if-related code
This commit is contained in:
@@ -288,7 +288,7 @@ static int update_values( wcstring_list_t &list,
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
if ( ind >= list.size() )
|
||||
if ( (size_t)ind >= list.size() )
|
||||
{
|
||||
list.resize( ind+1 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user