diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2021-06-21 20:24:04 +0200 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2021-06-23 08:42:15 +0200 |
commit | 2a46ecf6e64f1a725a3660ea03d6c9946e74de0f (patch) | |
tree | a583edd6170b096b3f184a255caff7d57b50678f | |
parent | 8ca960fa0274018cb4f94a1826029d74e6f762e0 (diff) | |
download | ouroboros-61c03fa04fd38c7029174d5cd95444942651dcf2.tar.gz ouroboros-61c03fa04fd38c7029174d5cd95444942651dcf2.zip |
ipcpd: Fix missing return statement0.18.2
The fa_handle_packet function loop is non-void but didn't have a
return statement. Only got picked up if I build from AUR, which is
weird.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/ipcpd/unicast/fa.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e0c7bef3..266b7ef3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ include(GNUInstallDirs) set(PACKAGE_VERSION_MAJOR 0) set(PACKAGE_VERSION_MINOR 18) -set(PACKAGE_VERSION_PATCH 1) +set(PACKAGE_VERSION_PATCH 2) set(PACKAGE_NAME "${CMAKE_PROJECT_NAME}") set(PACKAGE_DESCRIPTION "The Ouroboros prototype") diff --git a/src/ipcpd/unicast/fa.c b/src/ipcpd/unicast/fa.c index 3ebdc1f1..71351d5a 100644 --- a/src/ipcpd/unicast/fa.c +++ b/src/ipcpd/unicast/fa.c @@ -585,6 +585,8 @@ static void * fa_handle_packet(void * o) break; } } + + return (void *) 0; } int fa_init(void) |