aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libmultisense/0003-utilities-cc-unreachable-code.patch
blob: 78e0db99a1cfe0675a118e9f061f0059a8c1bdfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/source/LibMultiSense/details/utilities.cc b/source/LibMultiSense/details/utilities.cc
index 5c20566..768a291 100644
--- a/source/LibMultiSense/details/utilities.cc
+++ b/source/LibMultiSense/details/utilities.cc
@@ -185,7 +185,6 @@ bool write_image(const Image &image, const std::filesystem::path &path)
     }
     throw std::runtime_error("Unsupported path extension: " + extension.string() + ". Try compiling with OpenCV");
 #endif
-    return false;
 }
 
 std::optional<Image> create_depth_image(const ImageFrame &frame,