Skip to content

Commit 61e4a39

Browse files
committed
fix: immediate fix to PR 5154, uncheked return (#5171)
PR #5154 crossed streams with another that turned on more warnings for unchecked errors. The check isn't necessary here, though. Signed-off-by: Larry Gritz <[email protected]>
1 parent d26166e commit 61e4a39

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/libOpenImageIO/imagebufalgo_flip.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1242,7 +1242,8 @@ ImageBufAlgo::experimental::FLIP_diff(const ImageBuf& ref, const ImageBuf& test,
12421242
KWArgs options, ROI roi, int nthreads)
12431243
{
12441244
ImageBuf dst;
1245-
FLIP_diff(dst, ref, test, options, roi, nthreads);
1245+
(void)FLIP_diff(dst, ref, test, options, roi, nthreads);
1246+
// Ignoring error return is ok here because the error is reported in dst
12461247
return dst;
12471248
}
12481249

0 commit comments

Comments
 (0)