Fix control reaching the end of ProjectiveGenerator.
PiperOrigin-RevId: 157510013
This commit is contained in:
parent
040e2e20f1
commit
2249a4ea82
@ -76,6 +76,9 @@ class ProjectiveGenerator {
|
||||
return bilinear_interpolation(coords[0], input_y, input_x, coords[3],
|
||||
fill_value);
|
||||
}
|
||||
// Unreachable; ImageProjectiveTransform only uses INTERPOLATION_NEAREST
|
||||
// or INTERPOLATION_BILINEAR.
|
||||
return T(0);
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user