From: Matthew Fernandez Date: Sat, 17 Oct 2020 20:52:01 +0000 (-0700) Subject: remove POOLMTXRETURN() X-Git-Tag: 2.46.0~20^2^2~16^2~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eba720544d479d843e78b16ad21f93832af14320;p=graphviz remove POOLMTXRETURN() --- diff --git a/lib/sfio/sfhdr.h b/lib/sfio/sfhdr.h index f05fca9b1..f697e21b1 100644 --- a/lib/sfio/sfhdr.h +++ b/lib/sfio/sfhdr.h @@ -88,8 +88,6 @@ extern "C" { #define SFMTXSTART(f,v) { if(!f) return(v); } #define SFMTXRETURN(f,v) { return(v); } -#define POOLMTXRETURN(p,v) { return(v); } - /* to test for executable access mode of a file */ #ifndef X_OK #define X_OK 01 diff --git a/lib/sfio/sfmode.c b/lib/sfio/sfmode.c index 1a997fee9..b90c193f7 100644 --- a/lib/sfio/sfmode.c +++ b/lib/sfio/sfmode.c @@ -126,7 +126,7 @@ int _sfsetpool(Sfio_t * f) rv = 0; done: - POOLMTXRETURN(p, rv); + return rv; } /* create an auxiliary buffer for sfputr */