diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libmultisense/0003-utilities-cc-unreachable-code.patch | |
Diffstat (limited to 'vcpkg/ports/libmultisense/0003-utilities-cc-unreachable-code.patch')
| -rw-r--r-- | vcpkg/ports/libmultisense/0003-utilities-cc-unreachable-code.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/libmultisense/0003-utilities-cc-unreachable-code.patch b/vcpkg/ports/libmultisense/0003-utilities-cc-unreachable-code.patch new file mode 100644 index 0000000..78e0db9 --- /dev/null +++ b/vcpkg/ports/libmultisense/0003-utilities-cc-unreachable-code.patch @@ -0,0 +1,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, |