mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Fix compile issue with Sun Studio, read_redirect returns void still doing return read_direct breaks with error about returning from function returning void.
darcs-hash:20070822074900-cac88-95305ba9542eec028dc7e6bb462aab10897fb693.gz
This commit is contained in:
parent
151943f89e
commit
baeca81305
1 changed files with 6 additions and 3 deletions
|
@ -597,11 +597,14 @@ void tok_next( tokenizer *tok )
|
|||
break;
|
||||
|
||||
case L'>':
|
||||
return read_redirect( tok, 1 );
|
||||
read_redirect( tok, 1 );
|
||||
return;
|
||||
case L'<':
|
||||
return read_redirect( tok, 0 );
|
||||
read_redirect( tok, 0 );
|
||||
return;
|
||||
case L'^':
|
||||
return read_redirect( tok, 2 );
|
||||
read_redirect( tok, 2 );
|
||||
return;
|
||||
|
||||
default:
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue