mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-19 10:10:06 +02:00
22 lines
654 B
Plaintext
22 lines
654 B
Plaintext
From ffb95dc0820c46ce05ac1c6a33a72b6d4efcc9c2 Mon Sep 17 00:00:00 2001
|
|
From: begasus <begasus@gmail.com>
|
|
Date: Thu, 13 Sep 2018 15:35:02 +0200
|
|
Subject: gcc7 fails on missing [[fallthrough]];
|
|
|
|
|
|
diff --git a/src/lib/RVNGZipStream.cpp b/src/lib/RVNGZipStream.cpp
|
|
index b15eac5..f5081a5 100644
|
|
--- a/src/lib/RVNGZipStream.cpp
|
|
+++ b/src/lib/RVNGZipStream.cpp
|
|
@@ -478,6 +478,7 @@ RVNGInputStream *RVNGZipStream::getSubstream(RVNGInputStream *input, const char
|
|
// TODO: return partial result on Z_BUF_ERROR/Z_DATA_ERROR?
|
|
default:
|
|
data.clear();
|
|
+ [[fallthrough]];
|
|
// fall-through intended
|
|
case Z_STREAM_END:
|
|
done = true;
|
|
--
|
|
2.19.0
|
|
|