Remove warning for missing history value - it is not a bug

darcs-hash:20060302113314-ac50b-65bd93a0e31e5ac69167ecc84346fa44d55dec71.gz
This commit is contained in:
axel 2006-03-02 21:33:14 +10:00
parent 676c3ed505
commit 930bb9c6d1

5
env.c
View file

@ -892,7 +892,10 @@ wchar_t *env_get( const wchar_t *key )
wchar_t *next = history_get( i-add_current );
if( !next )
{
debug( 1, _( L"No history item at index %d\n" ), i );
/*
This is not an error - it simply means the user has
a short history
*/
break;
}