projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
netdev-linux: Fix strict aliasing warnings.
[openvswitch]
/
ofproto
/
pinsched.c
diff --git
a/ofproto/pinsched.c
b/ofproto/pinsched.c
index dc835585b93b3e0186b664c00cb3302d84219701..a307a0758dbaf535c47cb954128d894b90d107b9 100644
(file)
--- a/
ofproto/pinsched.c
+++ b/
ofproto/pinsched.c
@@
-123,7
+123,7
@@
static void
drop_packet(struct pinsched *ps)
{
struct pinqueue *longest; /* Queue currently selected as longest. */
drop_packet(struct pinsched *ps)
{
struct pinqueue *longest; /* Queue currently selected as longest. */
- int n_longest
;
/* # of queues of same length as 'longest'. */
+ int n_longest
= 0;
/* # of queues of same length as 'longest'. */
struct pinqueue *q;
ps->n_queue_dropped++;
struct pinqueue *q;
ps->n_queue_dropped++;