Marin Ramesa, le Wed 20 Nov 2013 13:53:57 +0100, a écrit : > * device/net_io.c (hash_entp): Initialize.
It doesn't seem so clear that it's actually always properly initialized. We also need a comment explaining why it always is. > --- > 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 > > -- Samuel CN > J'ai enseigné l'algorythmique. GLG> C'est quoi l'algorythmique ? Une contrebasse programmée en Algol ? -+- in : Guide du Neuneu d'Usenet - Neuneu fait ses gammes. -+-
