VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2018-08-05 21:38:00 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2018-08-05 22:13:17 (GMT)
commit6971b6551273a17886a255698c9150b32565c3d2 (patch)
treef18aab7acb5c88ab35d2fe6df9cd91db6806c46c /src
parentc1bc9dee0eb0744817aff7fac230ca5cfd940c26 (diff)
downloadVeraCrypt-6971b6551273a17886a255698c9150b32565c3d2.zip
VeraCrypt-6971b6551273a17886a255698c9150b32565c3d2.tar.gz
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 cff7fd6..bbe836e 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