From eba720544d479d843e78b16ad21f93832af14320 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 17 Oct 2020 13:52:01 -0700 Subject: [PATCH] remove POOLMTXRETURN() --- lib/sfio/sfhdr.h | 2 -- lib/sfio/sfmode.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) 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 */ -- 2.40.0