summaryrefslogtreecommitdiff
path: root/src/ipcpd/broadcast/dt.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2021-05-17 16:50:03 +0200
committerSander Vrijders <sander@ouroboros.rocks>2021-05-28 08:19:53 +0200
commitf44ff4dc6d903a626f86919567ce382be31eb3b2 (patch)
treeb40eea6d4b1694999e96972b7bf1e230903b31d4 /src/ipcpd/broadcast/dt.c
parentc43dfe6ef88910eeff96c76a424e74a554d11c55 (diff)
downloadouroboros-f44ff4dc6d903a626f86919567ce382be31eb3b2.tar.gz
ouroboros-f44ff4dc6d903a626f86919567ce382be31eb3b2.zip
ipcpd: Fix free of uninitialized variable in graph.c
The new GCC 11.1 compiler discovered s_dist would be uninitialized with an unknown policy, so it doesn't need to be free'd. Also removes some unneeded includes in broadcast dt.c that I had pending. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/ipcpd/broadcast/dt.c')
-rw-r--r--src/ipcpd/broadcast/dt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ipcpd/broadcast/dt.c b/src/ipcpd/broadcast/dt.c
index c3f40909..8b15008b 100644
--- a/src/ipcpd/broadcast/dt.c
+++ b/src/ipcpd/broadcast/dt.c
@@ -33,7 +33,6 @@
#define DT "dt"
#define OUROBOROS_PREFIX DT
-#include <ouroboros/endian.h>
#include <ouroboros/dev.h>
#include <ouroboros/errno.h>
#include <ouroboros/fqueue.h>
@@ -45,7 +44,6 @@
#include "common/comp.h"
#include "common/connmgr.h"
#include "dt.h"
-#include "ipcp.h"
#include <assert.h>
#include <stdlib.h>