diff --git a/src/util.h b/src/util.h index 5f8d0375d..81b36d31f 100644 --- a/src/util.h +++ b/src/util.h @@ -217,9 +217,11 @@ public: { printf("LOCKCONTENTION: %s\n", pszName); printf("Locker: %s:%d\n", pszFile, nLine); - } #endif lock.lock(); +#ifdef DEBUG_LOCKCONTENTION + } +#endif } }