From f0c206cea67107ca2e4618239a7d29d1d391e930 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 24 Jan 2025 11:33:50 -0400 Subject: [PATCH] avoid build warning on windows --- Utility/LockFile/Windows.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utility/LockFile/Windows.hs b/Utility/LockFile/Windows.hs index c8e7c1bf52..9f35ec1129 100644 --- a/Utility/LockFile/Windows.hs +++ b/Utility/LockFile/Windows.hs @@ -75,9 +75,9 @@ openLock sharemode f = do return $ if h == iNVALID_HANDLE_VALUE then Nothing else Just h -#endif where security_attributes = maybePtr Nothing +#endif dropLock :: LockHandle -> IO () dropLock = closeHandle