aboutsummaryrefslogtreecommitdiffhomepage
path: root/env.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-03-02 21:33:14 +1000
committerGravatar axel <axel@liljencrantz.se>2006-03-02 21:33:14 +1000
commit930bb9c6d19565d809aec5b6fb070a58c9acf8dc (patch)
tree1abcf70b6bf7eae3fc4cf53ceb9f5fd465ee5266 /env.c
parent676c3ed50515f945785850e5426a022697901ba4 (diff)
Remove warning for missing history value - it is not a bug
darcs-hash:20060302113314-ac50b-65bd93a0e31e5ac69167ecc84346fa44d55dec71.gz
Diffstat (limited to 'env.c')
-rw-r--r--env.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/env.c b/env.c
index 45075e0f..fec6dfc3 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;
}