From 855774ee5741c3cb18581f73f9647b9b37cb609c Mon Sep 17 00:00:00 2001 From: Nir Azkiel Date: Sun, 17 Nov 2024 10:23:50 +0200 Subject: [PATCH] fix coverity issues --- src/ds/d500/d500-private.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ds/d500/d500-private.cpp b/src/ds/d500/d500-private.cpp index 0dfb39977d..425b663877 100644 --- a/src/ds/d500/d500-private.cpp +++ b/src/ds/d500/d500-private.cpp @@ -51,6 +51,7 @@ namespace librealsense return get_d500_depth_intrinsic_by_resolution(raw_data, width, height, is_symmetrization_enabled); else LOG_ERROR("Cannot read depth table intrinsic values, using default values"); + break; } case d500_calibration_table_id::rgb_calibration_id: { @@ -58,6 +59,7 @@ namespace librealsense return get_d500_color_intrinsic_by_resolution(raw_data, width, height); else LOG_ERROR("Cannot read color table intrinsic values, using default values"); + break; } default: throw invalid_value_exception(rsutils::string::from() << "Parsing Calibration table type " << static_cast(table_id) << " is not supported");