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

index 7ab80d5ccaa0ae0ebf7bcafa0757caf8a99825f8..d8c2d0af0669d310b9de472e5fb642c07df352ab 100644 (file)
@@ -74,7 +74,6 @@ int sfclose(Sfio_t * f)
                    _Sfpool.sf[n] = _Sfpool.sf[n + 1];
                break;
            }
-           POOLMTXUNLOCK(&_Sfpool);
        } else {
            f->mode &= ~SF_LOCK;
            /**/ ASSERT(_Sfpmove);
index 0cfc3628f3aa8206d2c3c62455215ae5dd94a69f..95d2cd2de4d051f5d5086dc098ff39e1c5409940 100644 (file)
@@ -88,7 +88,6 @@ extern "C" {
 #define SFMTXSTART(f,v)                { if(!f) return(v); }
 #define SFMTXRETURN(f,v)       { return(v); }
 
-#define POOLMTXUNLOCK(p)
 #define POOLMTXSTART(p)
 #define POOLMTXRETURN(p,v)     { return(v); }