summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2018-03-28 15:01:53 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2018-03-28 15:26:22 +0200
commitd81f3a84e2d64a2f1f531a86a8c9481087775e8f (patch)
tree616e875d029e9a996152ad25ba90a8e0731b52c4
parent2e9665b5b5d1bb34e0db989acdda62d093c7745f (diff)
downloadouroboros-d81f3a84e2d64a2f1f531a86a8c9481087775e8f.tar.gz
ouroboros-d81f3a84e2d64a2f1f531a86a8c9481087775e8f.zip
irmd: Fix unreachable statement0.11.1
The unreachable statement was missed by some compilers. Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/irmd/main.c1
2 files changed, 1 insertions, 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: