diff options
| author | tholo <> | 1996-09-15 09:31:53 +0000 | 
|---|---|---|
| committer | tholo <> | 1996-09-15 09:31:53 +0000 | 
| commit | 27b62657a94b21845fcea14320c285cb5b1a2800 (patch) | |
| tree | 947900ef381c1a838cf05f934ed5349615aac605 /src/lib/libc/string/__strerror.c | |
| parent | 5db356f3a7b6b461177c41660da527087e8d4399 (diff) | |
| download | openbsd-27b62657a94b21845fcea14320c285cb5b1a2800.tar.gz openbsd-27b62657a94b21845fcea14320c285cb5b1a2800.tar.bz2 openbsd-27b62657a94b21845fcea14320c285cb5b1a2800.zip | |
Remove dead code
Remove unused variables
Silence some warnings
lint(1) is your friend
Diffstat (limited to 'src/lib/libc/string/__strerror.c')
| -rw-r--r-- | src/lib/libc/string/__strerror.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/lib/libc/string/__strerror.c b/src/lib/libc/string/__strerror.c index c27cb8492b..619bebf229 100644 --- a/src/lib/libc/string/__strerror.c +++ b/src/lib/libc/string/__strerror.c | |||
| @@ -32,7 +32,7 @@ | |||
| 32 | */ | 32 | */ | 
| 33 | 33 | ||
| 34 | #if defined(LIBC_SCCS) && !defined(lint) | 34 | #if defined(LIBC_SCCS) && !defined(lint) | 
| 35 | static char *rcsid = "$OpenBSD: __strerror.c,v 1.3 1996/08/19 08:33:55 tholo Exp $"; | 35 | static char *rcsid = "$OpenBSD: __strerror.c,v 1.4 1996/09/15 09:31:53 tholo Exp $"; | 
| 36 | #endif /* LIBC_SCCS and not lint */ | 36 | #endif /* LIBC_SCCS and not lint */ | 
| 37 | 37 | ||
| 38 | #ifdef NLS | 38 | #ifdef NLS | 
| @@ -64,7 +64,7 @@ __strerror(num, buf) | |||
| 64 | register unsigned int errnum; | 64 | register unsigned int errnum; | 
| 65 | 65 | ||
| 66 | #ifdef NLS | 66 | #ifdef NLS | 
| 67 | nl_catd catd ; | 67 | nl_catd catd; | 
| 68 | catd = catopen("libc", 0); | 68 | catd = catopen("libc", 0); | 
| 69 | #endif | 69 | #endif | 
| 70 | 70 | ||
