From: Ben Pfaff Date: Thu, 8 Jan 2009 23:27:52 +0000 (-0800) Subject: vlog: Fix initializer in VLOG_RATE_LIMIT macro. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e5100034104400f119cc9302445fb1a86cd175f;p=openvswitch vlog: Fix initializer in VLOG_RATE_LIMIT macro. Found by -Wmissing-field-initializers. --- diff --git a/lib/vlog.h b/lib/vlog.h index a01309bf..cd832a71 100644 --- a/lib/vlog.h +++ b/lib/vlog.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2008 The Board of Trustees of The Leland Stanford +/* Copyright (c) 2008, 2009 The Board of Trustees of The Leland Stanford * Junior University * * We are making the OpenFlow specification and associated documentation @@ -110,6 +110,7 @@ struct vlog_rate_limit { * VLOG_MSG_TOKENS), /* burst */ \ 0, /* tokens */ \ 0, /* last_fill */ \ + 0, /* first_dropped */ \ 0, /* n_dropped */ \ }