[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:
parent
eec8edb660
commit
56438322bd
@ -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
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user