summaryrefslogtreecommitdiff
path: root/backend/dvi
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-12-28 12:12:01 +0100
committerraveit65 <[email protected]>2021-01-28 20:27:13 +0100
commitbe674c1c351e4eac855a36a3b853083bf0175c25 (patch)
tree6d155880ce69e5c1f8e8c5298a81f01efd6102fc /backend/dvi
parentfe353851db14e9ce3d3de50ee44ff275508585fb (diff)
downloadatril-be674c1c351e4eac855a36a3b853083bf0175c25.tar.bz2
atril-be674c1c351e4eac855a36a3b853083bf0175c25.tar.xz
Remove warning -Wtype-limits
Diffstat (limited to 'backend/dvi')
-rw-r--r--backend/dvi/mdvi-lib/dviread.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/backend/dvi/mdvi-lib/dviread.c b/backend/dvi/mdvi-lib/dviread.c
index 44005117..dbb4abbb 100644
--- a/backend/dvi/mdvi-lib/dviread.c
+++ b/backend/dvi/mdvi-lib/dviread.c
@@ -614,8 +614,6 @@ int mdvi_configure(DviContext *dvi, DviParamCode option, ...)
return -1;
if(np.mag <= 0.0)
return -1;
- if(np.density < 0)
- return -1;
if(np.hshrink < 1 || np.vshrink < 1)
return -1;
if(np.hdrift < 0 || np.vdrift < 0)