diff options
author | 2006-02-23 00:20:42 +1000 | |
---|---|---|
committer | 2006-02-23 00:20:42 +1000 | |
commit | 0ea69dab7bd8f02dd1f72bc1d7fa1dc0b865e24f (patch) | |
tree | 45f3ba0222233e7b215550826268c16713a54e2b /common.c | |
parent | a4a025b7869a6e88004235457c4d69120ab9bbce (diff) |
Drop unuses error counter for string conversions
darcs-hash:20060222142042-ac50b-25f2e050c680071ccec6989e477f6db5904a2713.gz
Diffstat (limited to 'common.c')
-rw-r--r-- | common.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -71,13 +71,6 @@ parts of fish. struct termios shell_modes; -/** - Number of error encountered. This is reset after each command, and - used to limit the number of error messages on commands with many - string convertion problems. -*/ -static int error_count=0; - int error_max=1; wchar_t ellipsis_char; @@ -271,11 +264,6 @@ wchar_t *str2wcs_internal( const char *in, wchar_t *out ) return out; } -void error_reset() -{ - error_count=0; -} - char *wcs2str( const wchar_t *in ) { char *out; |