aboutsummaryrefslogtreecommitdiff
path: root/pfinet
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-01-01 12:51:05 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-01-01 12:51:05 +0100
commitab54839166ccfa8c8092c27f4d14ad10747b784a (patch)
treecd048d45c0a35f0f426bf63d3a09d6fbdc5f798d /pfinet
parentd4618f642942647a22ce306273d72234540ccbc1 (diff)
downloadhurd-ab54839166ccfa8c8092c27f4d14ad10747b784a.tar.gz
hurd-ab54839166ccfa8c8092c27f4d14ad10747b784a.tar.bz2
hurd-ab54839166ccfa8c8092c27f4d14ad10747b784a.zip
pfinet: Fix using uninitialized value
Diffstat (limited to 'pfinet')
-rw-r--r--pfinet/pfinet-ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pfinet/pfinet-ops.c b/pfinet/pfinet-ops.c
index 9722e0e3..29c9a65c 100644
--- a/pfinet/pfinet-ops.c
+++ b/pfinet/pfinet-ops.c
@@ -128,7 +128,7 @@ S_pfinet_getroutes (io_t port,
error_t err = 0;
ifrtreq_t rs[MAX_ROUTES];
int n;
- ifrtreq_t *rtable;
+ ifrtreq_t *rtable = NULL;
pthread_mutex_lock (&global_lock);