From: Ralph Corderoy Date: Sat, 22 Apr 2017 17:37:15 +0000 (+0100) Subject: mts/smtp/smtp.h: Remove one-use rp_isbad() macro. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/f4f042276a25cbde557d159914ac1d0c31514535?ds=inline 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. --- 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)