aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nfs.c
diff options
context:
space:
mode:
authorTom Haynes <loghyr@primarydata.com>2015-09-10 00:02:39 -0700
committerPascal Quantin <pascal.quantin@gmail.com>2015-09-10 10:38:15 +0000
commit37bee87a5205c87798e8d1de65c0dcbdbf3b92f6 (patch)
tree09366720291afc4adfd9f9c8815673e871eb36c6 /epan/dissectors/packet-nfs.c
parente9b12916ab96637472477490dd543bd8465aa80b (diff)
nfs: Fix compilation break
Initialize layout_type. Change-Id: Ied6cf61045cbee4f45b802c99ba06c2a07cc7613 Signed-off-by: Tom Haynes <loghyr@primarydata.com> Reviewed-on: https://code.wireshark.org/review/10461 Reviewed-by: Roland Knall <rknall@gmail.com> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-nfs.c')
-rw-r--r--epan/dissectors/packet-nfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-nfs.c b/epan/dissectors/packet-nfs.c
index dd8fcb9d46..fbfb4d4ae1 100644
--- a/epan/dissectors/packet-nfs.c
+++ b/epan/dissectors/packet-nfs.c
@@ -8418,7 +8418,7 @@ dissect_nfs4_io_info(tvbuff_t *tvb, int offset, proto_tree *tree, const char *io
static int
dissect_nfs4_layoutstats(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, rpc_call_info_value *civ, gboolean has_layout_type)
{
- guint layout_type;
+ guint layout_type = LAYOUT4_NO_LAYOUT_TYPE;
proto_tree *netaddr;
proto_item *fitem;
int old_offset;