From 5659898331963e29953daa4c9fcddad8a5172e9e Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Tue, 9 May 2017 21:03:00 -0700 Subject: [PATCH] remove pointless flock() lint warning The lint warning about possible problems using `flock()` to lock files that I added isn't helpful and is just noise in the `make lint-all` output. What we should do is is change to code to obviate the need for file locking. But that's a big change for another day. --- .cppcheck.rules | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.cppcheck.rules b/.cppcheck.rules index 8c0d28c62..1bef35c98 100644 --- a/.cppcheck.rules +++ b/.cppcheck.rules @@ -24,12 +24,3 @@ <--!> ]]> - - - flock \( - - flockSemanticsWarning - warning - flock has a fallback implemented in terms of fcntl; ensure that the fcntl semantics will apply (see http://0pointer.de/blog/projects/locking.html) - -