diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-26 01:21:10 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-26 01:21:10 -0700 |
commit | 0bc644abf06d1cf903ed7bf59302894f80d18971 (patch) | |
tree | da229cd4505d34800af22e10c8f61d380d6a88b3 /fishd.cpp | |
parent | 31b7d076b7bff8d7bb81e6a1fff58755b7baa10b (diff) |
Fix lots of bugs related to the static analyzer
Improved how screen.cpp interacts with output_set_writer()
Diffstat (limited to 'fishd.cpp')
-rw-r--r-- | fishd.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -659,9 +659,8 @@ static wchar_t *fishd_env_get( const wchar_t *key ) { res = env_universal_common_get( key ); if( res ) - res = wcsdup( res ); - - return env_universal_common_get( key ); + res = wcsdup( res ); + return res; } } |