From: Matthew Fernandez Date: Sat, 17 Oct 2020 20:40:04 +0000 (-0700) Subject: remove POOLMTXSTART() no-op X-Git-Tag: 2.46.0~20^2^2~16^2~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=49683b9532f9ec200c38cc7401f08ff1250db73d;p=graphviz remove POOLMTXSTART() no-op --- diff --git a/lib/sfio/sfhdr.h b/lib/sfio/sfhdr.h index 95d2cd2de..f05fca9b1 100644 --- a/lib/sfio/sfhdr.h +++ b/lib/sfio/sfhdr.h @@ -88,7 +88,6 @@ extern "C" { #define SFMTXSTART(f,v) { if(!f) return(v); } #define SFMTXRETURN(f,v) { return(v); } -#define POOLMTXSTART(p) #define POOLMTXRETURN(p,v) { return(v); } /* to test for executable access mode of a file */ diff --git a/lib/sfio/sfmode.c b/lib/sfio/sfmode.c index 479d2c81a..1a997fee9 100644 --- a/lib/sfio/sfmode.c +++ b/lib/sfio/sfmode.c @@ -97,8 +97,6 @@ int _sfsetpool(Sfio_t * f) if (!(p = f->pool)) p = f->pool = &_Sfpool; - POOLMTXSTART(p); - rv = -1; if (p->n_sf >= p->s_sf) {