summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2021-06-21 20:24:04 +0200
committerSander Vrijders <sander@ouroboros.rocks>2021-06-23 08:42:15 +0200
commit2a46ecf6e64f1a725a3660ea03d6c9946e74de0f (patch)
treea583edd6170b096b3f184a255caff7d57b50678f /src
parent8ca960fa0274018cb4f94a1826029d74e6f762e0 (diff)
downloadouroboros-2a46ecf6e64f1a725a3660ea03d6c9946e74de0f.tar.gz
ouroboros-2a46ecf6e64f1a725a3660ea03d6c9946e74de0f.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>
Diffstat (limited to 'src')
-rw-r--r--src/ipcpd/unicast/fa.c2
1 files changed, 2 insertions, 0 deletions
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)