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:
Claes Nästén 2007-08-22 17:49:00 +10:00
parent 151943f89e
commit baeca81305

View file

@ -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:
{