bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 15/19] device/net_io.c: quiet the warning about uninitialized var


From: Marin Ramesa
Subject: [PATCH 15/19] device/net_io.c: quiet the warning about uninitialized variable
Date: Wed, 20 Nov 2013 13:53:57 +0100

* device/net_io.c (hash_entp): Initialize.

---
 device/net_io.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/device/net_io.c b/device/net_io.c
index 1958840..857fc89 100644
--- a/device/net_io.c
+++ b/device/net_io.c
@@ -1158,7 +1158,7 @@ net_set_filter(ifp, rcv_port, priority, filter, 
filter_count)
     net_rcv_port_t             infp, my_infp;
     net_rcv_port_t             nextfp;
     net_hash_header_t          hhp;
-    net_hash_entry_t           entp, hash_entp;
+    net_hash_entry_t           entp, hash_entp = hash_entp;
     net_hash_entry_t           *head, nextentp;
     queue_entry_t              dead_infp, dead_entp;
     int                                i;
-- 
1.8.1.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]