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()