mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08: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
|
@ -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 New Issue
Block a user