mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 23:11:14 -03:00
Fix compiler warnings
darcs-hash:20050924195558-ac50b-1ad53fa963f71ce5b4aa42490789add2a3d48ab3.gz
This commit is contained in:
@@ -175,12 +175,16 @@ wchar_t input_common_readch( int timed )
|
||||
while(1)
|
||||
{
|
||||
wint_t b = readb();
|
||||
char bb;
|
||||
|
||||
int sz;
|
||||
|
||||
if( b == R_NULL )
|
||||
return R_NULL;
|
||||
|
||||
sz = mbrtowc( &res, &b, 1, &state );
|
||||
bb=b;
|
||||
|
||||
sz = mbrtowc( &res, &bb, 1, &state );
|
||||
|
||||
switch( sz )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user