Skip to content

Commit cf79f85

Browse files
committed
add a string comparation issue to check clang tidy
1 parent 0515f83 commit cf79f85

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ds/d400/d400-auto-calibration.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,10 @@ namespace librealsense
270270
break;
271271
case ds_calib_common::SPEED_WHITE_WALL:
272272
_total_frames = 120;
273+
/* Inject string comparation issue by purpose to see if clang tidy finds it - REMOVE!!*/
274+
char * tmp = "NIR";
275+
if (tmp == "NIR")
276+
int a = 0;
273277
break;
274278
}
275279
std::fill_n(_fill_factor, 256, 0);

0 commit comments

Comments
 (0)