From 5cf37957fbdb7e2a1be48e15c4114d218c135f73 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Tue, 23 Sep 2014 13:23:09 -0400 Subject: RT3543: Remove #ifdef LINT I also replaced some exit/return wrappers in various programs (from main) to standardize on return. Reviewed-by: Richard Levitte --- crypto/des/read_pwd.c | 3 --- crypto/des/rpw.c | 10 ++-------- 2 files changed, 2 insertions(+), 11 deletions(-) (limited to 'crypto/des') diff --git a/crypto/des/read_pwd.c b/crypto/des/read_pwd.c index 7e3f9020dc..ffc458a9c6 100644 --- a/crypto/des/read_pwd.c +++ b/crypto/des/read_pwd.c @@ -462,9 +462,6 @@ static void popsig(void) static void recsig(int i) { longjmp(save,1); -#ifdef LINT - i=i; -#endif } #ifdef OPENSSL_SYS_MSDOS diff --git a/crypto/des/rpw.c b/crypto/des/rpw.c index 8a9473c4f9..af1f0cf73f 100644 --- a/crypto/des/rpw.c +++ b/crypto/des/rpw.c @@ -86,14 +86,8 @@ int main(int argc, char *argv[]) for (i=0; i<8; i++) printf("%02x ",k1[i]); printf("\n"); - exit(1); + return(1); } - else - { - printf("error %d\n",i); - exit(0); - } -#ifdef LINT + printf("error %d\n",i); return(0); -#endif } -- cgit v1.2.3