[fuzz] Fix unreachable code warning

Change-Id: I18fb0be2ae900cd99c20aa65eea85fff1e367876
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/509399
Reviewed-by: Leon Scroggins <scroggo@google.com>
This commit is contained in:
Kevin Lubick 2022-02-15 14:27:35 -05:00
parent eec8edb660
commit 56438322bd

View File

@ -440,12 +440,13 @@ public:
// We just pretend all streams are invalid. Our AFL-fuzzer
// should still exercise this code; it's more resistant to OOM.
return nullptr;
#endif
#else
if (!dngImage->initFromPiex() && !dngImage->readDng()) {
return nullptr;
}
return dngImage.release();
#endif
}
/*