Gitweb links:
...log
http://git.netsurf-browser.org/libcss.git/shortlog/a827023bed3815e332a33dc9f061584cbf424313
...commit
http://git.netsurf-browser.org/libcss.git/commit/a827023bed3815e332a33dc9f061584cbf424313
...tree
http://git.netsurf-browser.org/libcss.git/tree/a827023bed3815e332a33dc9f061584cbf424313
The branch, master has been updated
via a827023bed3815e332a33dc9f061584cbf424313 (commit)
from 03448f482ab3f30f85a4557ca3ec1a249b173412 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/libcss.git/commit/?id=a827023bed3815e332a33dc9f061584cbf424313
commit a827023bed3815e332a33dc9f061584cbf424313
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
Squash GCC7 -Wimplicit-fallthrough warnings.
diff --git a/src/parse/parse.c b/src/parse/parse.c
index 68492d4..4cc1c98 100644
--- a/src/parse/parse.c
+++ b/src/parse/parse.c
@@ -2098,8 +2098,8 @@ css_error parseMalformedDeclaration(css_parser *parser)
;
state->substate = Go;
- /* Fall through */
}
+ /* Fall through */
case Go:
while (1) {
char want;
@@ -2296,8 +2296,8 @@ css_error parseMalformedAtRule(css_parser *parser)
;
state->substate = Go;
- /* Fall through */
}
+ /* Fall through */
case Go:
while (1) {
char want;
diff --git a/src/select/arena_hash.h b/src/select/arena_hash.h
index 58abcd4..449284f 100644
--- a/src/select/arena_hash.h
+++ b/src/select/arena_hash.h
@@ -49,8 +49,8 @@ static inline uint32_t css__arena_hash(const uint8_t *data,
size_t len)
/* Hash any left over bytes */
switch (len) {
- case 3: h ^= data[2] << 16;
- case 2: h ^= data[1] << 8;
+ case 3: h ^= data[2] << 16; /* Fall through */
+ case 2: h ^= data[1] << 8; /* Fall through */
case 1: h ^= data[0];
h *= m;
}
-----------------------------------------------------------------------
Summary of changes:
src/parse/parse.c | 4 ++--
src/select/arena_hash.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/parse/parse.c b/src/parse/parse.c
index 68492d4..4cc1c98 100644
--- a/src/parse/parse.c
+++ b/src/parse/parse.c
@@ -2098,8 +2098,8 @@ css_error parseMalformedDeclaration(css_parser *parser)
;
state->substate = Go;
- /* Fall through */
}
+ /* Fall through */
case Go:
while (1) {
char want;
@@ -2296,8 +2296,8 @@ css_error parseMalformedAtRule(css_parser *parser)
;
state->substate = Go;
- /* Fall through */
}
+ /* Fall through */
case Go:
while (1) {
char want;
diff --git a/src/select/arena_hash.h b/src/select/arena_hash.h
index 58abcd4..449284f 100644
--- a/src/select/arena_hash.h
+++ b/src/select/arena_hash.h
@@ -49,8 +49,8 @@ static inline uint32_t css__arena_hash(const uint8_t *data,
size_t len)
/* Hash any left over bytes */
switch (len) {
- case 3: h ^= data[2] << 16;
- case 2: h ^= data[1] << 8;
+ case 3: h ^= data[2] << 16; /* Fall through */
+ case 2: h ^= data[1] << 8; /* Fall through */
case 1: h ^= data[0];
h *= m;
}
--
Cascading Style Sheets library
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org