From 930bb9c6d19565d809aec5b6fb070a58c9acf8dc Mon Sep 17 00:00:00 2001 From: axel Date: Thu, 2 Mar 2006 21:33:14 +1000 Subject: [PATCH] Remove warning for missing history value - it is not a bug darcs-hash:20060302113314-ac50b-65bd93a0e31e5ac69167ecc84346fa44d55dec71.gz --- env.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/env.c b/env.c index 45075e0f2..fec6dfc35 100644 --- a/env.c +++ b/env.c @@ -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; }