]> granicus.if.org Git - graphviz/commitdiff
remove POOLMTXSTART() no-op
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 17 Oct 2020 20:40:04 +0000 (13:40 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 24 Oct 2020 02:16:10 +0000 (19:16 -0700)
lib/sfio/sfhdr.h
lib/sfio/sfmode.c

index 95d2cd2de4d051f5d5086dc098ff39e1c5409940..f05fca9b1b2fa5689d2f129282ff8d8ce5f42088 100644 (file)
@@ -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 */
index 479d2c81a4f83f7c6cf6223b419457bdc417a80e..1a997fee9c6bfbbd6cd876fc110a5b6dc4cf004a 100644 (file)
@@ -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) {