VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Boot/Windows/Platform.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-19 01:08:24 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-19 01:12:23 +0200
commitd78a3d02737d230e30139498125415444f65e78c (patch)
tree16d7f7a9090b7c00b54fd1e45292204c3d52e4a6 /src/Boot/Windows/Platform.cpp
parent3bdb9a32d78a644940f496570b58d3912180a486 (diff)
downloadVeraCrypt-d78a3d02737d230e30139498125415444f65e78c.tar.gz
VeraCrypt-d78a3d02737d230e30139498125415444f65e78c.zip
Windows MBR bootloader: remove unused test function in release build
Diffstat (limited to 'src/Boot/Windows/Platform.cpp')
-rw-r--r--src/Boot/Windows/Platform.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Boot/Windows/Platform.cpp b/src/Boot/Windows/Platform.cpp
index 486f4364..046fa4a4 100644
--- a/src/Boot/Windows/Platform.cpp
+++ b/src/Boot/Windows/Platform.cpp
@@ -137,6 +137,8 @@ bool operator<= (const uint64 &a, const uint64 &b)
return a < b || a == b;
}
+#ifdef TC_BOOT_DEBUG_ENABLED
+
bool TestInt64 ()
{
uint64 a, b, c;
@@ -161,6 +163,7 @@ bool TestInt64 ()
return c.HighPart == 0x22446755UL && c.LowPart == 0x78024600UL;
}
+#endif
void CopyMemory (void *source, uint16 destSegment, uint16 destOffset, uint16 blockSize)
{