mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-04 15:51:15 -03:00
More const and signed correctness. Warnings now fit on one page!
This commit is contained in:
@@ -1087,10 +1087,10 @@ static int wildcard_expand_internal( const wchar_t *wc,
|
||||
*/
|
||||
if( whole_match )
|
||||
{
|
||||
wchar_t *new_wc = L"";
|
||||
const wchar_t *new_wc = L"";
|
||||
if( wc_end )
|
||||
{
|
||||
new_wc=const_cast<wchar_t*>(wc_end+1);
|
||||
new_wc=wc_end+1;
|
||||
/*
|
||||
Accept multiple '/' as a single direcotry separator
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user