From f4f042276a25cbde557d159914ac1d0c31514535 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Sat, 22 Apr 2017 18:37:15 +0100 Subject: [PATCH] mts/smtp/smtp.h: Remove one-use rp_isbad() macro. It just cast its argument to signed char, and the sole user can do that itself a few lines later. --- mts/smtp/smtp.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/mts/smtp/smtp.h b/mts/smtp/smtp.h index 6bf3f9e9..8b6b32c0 100644 --- a/mts/smtp/smtp.h +++ b/mts/smtp/smtp.h @@ -171,14 +171,6 @@ char *rp_string (int); #define RP_USER (RP_BNO | RP_CUSR | '\000') -/* - * Macros to access reply info - */ - -/* get the entire return value */ -#define rp_gval(val) ((signed char) (val)) - - /* * MACHINE DEPENDENCY * @@ -188,5 +180,5 @@ char *rp_string (int); */ /* is return value negative? */ -#define rp_isbad(val) (rp_gval (val) < 0) +#define rp_isbad(val) (((signed char)(val)) < 0) -- 2.56.0