Commit 4f27a472 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Remove redundant branch.

* free is a macro that does the above check anyway on many platforms
  and is safe to call with a NULL pointer otherwise.
parent d1bc565c
......@@ -2238,7 +2238,7 @@ static _Icf(2,U,F,CFFUN(UN),0)(CF_VOID_PROTO) {_(F,_cfE) _Icf(3,GZ,F,UN,LN) ABSO
#define DEFAULT_cfR(A,B,D)
#define LOGICAL_cfR(A,B,D)
#define PLOGICAL_cfR(A,B,D) *A=C2FLOGICAL(*A);
#define STRING_cfR(A,B,D) if (B) _cf_free(B);
#define STRING_cfR(A,B,D) _cf_free(B);
#define STRINGV_cfR(A,B,D) _cf_free(B);
/* A and D as defined above for TSTRING(V) */
#define RRRRPSTR( A,B,D) if (B) memcpy(A,B, _cfMIN(strlen(B),D)), \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment