mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-06-05 22:09:39 +02:00
Silence no-return warning
This commit is contained in:
@@ -35,6 +35,6 @@ let jpeg2000_dimensions_inner bs =
|
|||||||
done
|
done
|
||||||
|
|
||||||
let jpeg2000_dimensions bs =
|
let jpeg2000_dimensions bs =
|
||||||
try jpeg2000_dimensions_inner bs; (0, 0) with
|
try ignore (jpeg2000_dimensions_inner bs); (0, 0) with
|
||||||
| Answer (w, h) -> (w, h)
|
| Answer (w, h) -> (w, h)
|
||||||
| Exit -> error "could not determine JPEG2000 dimensions"
|
| Exit -> error "could not determine JPEG2000 dimensions"
|
||||||
|
Reference in New Issue
Block a user