summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a62b1b9)
raw | patch | inline | side by side (parent: a62b1b9)
author | Max Kellermann <max.kellermann@gmail.com> | |
Fri, 10 Mar 2017 20:41:02 +0000 (21:41 +0100) | ||
committer | Max Kellermann <max.kellermann@gmail.com> | |
Fri, 10 Mar 2017 20:41:02 +0000 (21:41 +0100) |
NEWS | patch | blob | history | |
src/screen_find.c | patch | blob | history | |
src/screen_search.c | patch | blob | history |
index e758972b4710fb31555b0ff476290d9452b16829..a4c5075057e3e5d833092bdfaa4dd7fcdc9644f0 100644 (file)
--- a/NEWS
+++ b/NEWS
* require libmpdclient 2.9
* adapt to lirc 0.9.4
* lyricswiki: update regex
+* fix gcc 7 warnings
ncmpc 0.25 - (2016-08-18)
* implement "%disc%"
diff --git a/src/screen_find.c b/src/screen_find.c
index f131af72d482e0d52114c1b5c34b26b02f4839e8..a08140c670907fcc5fa88e14ec6d0e92a7c6012f 100644 (file)
--- a/src/screen_find.c
+++ b/src/screen_find.c
if (screen.findbuf) {
g_free(screen.findbuf);
screen.findbuf=NULL;
- }
- /* continue... */
+ }
+ /* fall through */
case CMD_LIST_FIND_NEXT:
case CMD_LIST_RFIND_NEXT:
diff --git a/src/screen_search.c b/src/screen_search.c
index deab64ab05ba96bc5ea35e181834724f646fd2a9..df451d104f95e5f039622b7fb491032a178d440e 100644 (file)
--- a/src/screen_search.c
+++ b/src/screen_search.c
options.search_mode = 0;
screen_status_printf(_("Search mode: %s"),
_(mode[options.search_mode].label));
- /* continue and update... */
+ /* fall through */
case CMD_SCREEN_UPDATE:
screen_search_reload(c);
search_repaint();