Skip to content

Commit

Permalink
eventlicrd: gcc7 fix (PR2)
Browse files Browse the repository at this point in the history
* push upstream OpenELEC/eventlircd#2
  • Loading branch information
InuSasha committed Aug 14, 2017
1 parent b4bb2fe commit dad8f97
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
From aae3b1193025ccec332da4165d46502f9685aea4 Mon Sep 17 00:00:00 2001
From: "Sascha Kuehndel (InuSasha)" <[email protected]>
Date: Sat, 6 May 2017 16:08:14 +0200
Subject: [PATCH] make fallthru explicit, fixes compile error in gcc7

---
src/main.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/src/main.c b/src/main.c
index f6c50fa..d0fb25a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -105,6 +105,7 @@ int main(int argc,char **argv)
{
syslog(LOG_WARNING, "the highest verbosity level is -vvv\n");
}
+ /* FALLTHRU */
case 'f':
foreground = true;
break;

0 comments on commit dad8f97

Please sign in to comment.