From d81f3a84e2d64a2f1f531a86a8c9481087775e8f Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Wed, 28 Mar 2018 15:01:53 +0200 Subject: irmd: Fix unreachable statement The unreachable statement was missed by some compilers. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- CMakeLists.txt | 2 +- src/irmd/main.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1b667b3e..60b13082 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ include(GNUInstallDirs) set(PACKAGE_VERSION_MAJOR 0) set(PACKAGE_VERSION_MINOR 11) -set(PACKAGE_VERSION_PATCH 0) +set(PACKAGE_VERSION_PATCH 1) set(PACKAGE_NAME "${CMAKE_PROJECT_NAME}") set(PACKAGE_DESCRIPTION "The Ouroboros prototype") diff --git a/src/irmd/main.c b/src/irmd/main.c index ad121f98..dfdc7539 100644 --- a/src/irmd/main.c +++ b/src/irmd/main.c @@ -432,7 +432,6 @@ static pid_t create_ipcp(const char * name, return pid; - ipcp_destroy(pid); fail_ipcp: ipcp_entry_destroy(entry); fail_ipcp_entry: -- cgit v1.2.3