mirror of
https://github.com/opencv/opencv.git
synced 2024-12-03 00:10:21 +08:00
fixup: initialize ret
This commit is contained in:
parent
8487c697d4
commit
051607956b
@ -175,7 +175,7 @@ TEST(Imgcodecs_JpegXL, encode_from_uncontinued_image)
|
||||
|
||||
vector<uint8_t> buff;
|
||||
vector<int> param;
|
||||
bool ret;
|
||||
bool ret = false;
|
||||
EXPECT_NO_THROW(ret = cv::imencode(".jxl", roi, buff, param));
|
||||
EXPECT_TRUE(ret);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user