summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-04-17 19:08:07 +0200
committerCarl Hetherington <cth@carlh.net>2022-04-28 23:42:49 +0200
commita7a63b2beab3800870c518fa2e7a178061f2debf (patch)
tree2d64b9d05660d16b08e5ed3643ffc4fbf51968d5
parent75cd8bd1855a83964dc1c08c5e58b8c843d84e78 (diff)
Remove some commented-out code.
-rw-r--r--src/lib/cross_windows.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/cross_windows.cc b/src/lib/cross_windows.cc
index 38816874e..f76380836 100644
--- a/src/lib/cross_windows.cc
+++ b/src/lib/cross_windows.cc
@@ -656,8 +656,6 @@ Drive::unmount ()
DCPOMATIC_ASSERT (_mount_points.size() == 1);
string const device_name = String::compose ("\\\\.\\%1", _mount_points.front());
string const truncated = device_name.substr (0, device_name.length() - 1);
- //LOG_DISK("Actually opening %1", _device);
- //HANDLE device = CreateFileA (_device.c_str(), (GENERIC_READ | GENERIC_WRITE), FILE_SHARE_READ | FILE_SHARE_WRITE, 0, OPEN_EXISTING, 0, 0);
LOG_DISK("Actually opening %1", truncated);
HANDLE device = CreateFileA (truncated.c_str(), (GENERIC_READ | GENERIC_WRITE), FILE_SHARE_READ | FILE_SHARE_WRITE, 0, OPEN_EXISTING, 0, 0);
if (device == INVALID_HANDLE_VALUE) {