summaryrefslogtreecommitdiff
path: root/libspectre
diff options
context:
space:
mode:
authorAlbert Astals Cid <albert.astals.cid@kdab.com>2018-10-19 17:41:01 +0200
committerAlbert Astals Cid <aacid@kde.org>2018-10-19 17:41:01 +0200
commit17c72f0560bf079cbd0e6df5dd3445cb8f05660a (patch)
tree16e834f139338441ba1583255c7326fea4ea72c8 /libspectre
parent818ff44e1e1e665efeeccc2a58c6453949368638 (diff)
Make gcc happy about switch fallthrough
Diffstat (limited to 'libspectre')
-rw-r--r--libspectre/ps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libspectre/ps.c b/libspectre/ps.c
index 62472b1..c76f0e3 100644
--- a/libspectre/ps.c
+++ b/libspectre/ps.c
@@ -593,6 +593,7 @@ psscan(const char *filename, int scanstyle)
doc->pageorder = ASCEND;
}
}
+ // fall-through
case 1:
if (maxpages > 0) {
doc->pages = (struct page *) PS_calloc(maxpages,