VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2018-08-05 23:38:00 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2018-08-06 00:13:17 +0200
commit6971b6551273a17886a255698c9150b32565c3d2 (patch)
treef18aab7acb5c88ab35d2fe6df9cd91db6806c46c /src
parentc1bc9dee0eb0744817aff7fac230ca5cfd940c26 (diff)
downloadVeraCrypt-6971b6551273a17886a255698c9150b32565c3d2.tar.gz
VeraCrypt-6971b6551273a17886a255698c9150b32565c3d2.zip
Windows: fix warning in debug build
Diffstat (limited to 'src')
-rw-r--r--src/Common/Dlgcode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c
index cff7fd6e..bbe836e7 100644
--- a/src/Common/Dlgcode.c
+++ b/src/Common/Dlgcode.c
@@ -13424,6 +13424,7 @@ INT_PTR SecureDesktopDialogBoxParam(
#endif
+#ifdef NDEBUG
static BOOL InitializeWintrust()
{
if (!hWinTrustLib)
@@ -13470,6 +13471,8 @@ static void FinalizeWintrust()
}
}
+#endif
+
BOOL VerifyModuleSignature (const wchar_t* path)
{
#ifdef NDEBUG