From 0bc30371711af5194301f8359c7db0981106c3de Mon Sep 17 00:00:00 2001 From: Dmitry Perchanov Date: Tue, 28 May 2024 16:30:20 +0300 Subject: [PATCH] fw-update: clean windows build issue Signed-off-by: Dmitry Perchanov --- src/fw-update/fw-update-device.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/fw-update/fw-update-device.cpp b/src/fw-update/fw-update-device.cpp index 80cba8d69d9..5470943272f 100644 --- a/src/fw-update/fw-update-device.cpp +++ b/src/fw-update/fw-update-device.cpp @@ -187,9 +187,6 @@ namespace librealsense , _product_line( product_line ) , _serial_number( mipi_device->get_info().serial_number ) { -#if defined(_WINDOWS) || defined(WIN32) || defined(WIN64) - /* do nothing */ -#else std::ifstream fw_path_in_device(_physical_port); if (!fw_path_in_device) { @@ -197,7 +194,6 @@ namespace librealsense return; } fw_path_in_device.close(); -#endif } update_device::~update_device()