diff options
author | sfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-03-26 21:16:21 +0000 |
---|---|---|
committer | sfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-03-26 21:16:21 +0000 |
commit | 616f1faabeb3a6df58aa0a77a541d558fd0a02d2 (patch) | |
tree | 287d5d8612a868e8b4377ba3101570d8272d573f /epan/dissectors/packet-afp.c | |
parent | 0b918c71e362d2a3597f552fa95414c76c6bcd73 (diff) |
From Peter Johansson:
Fix warnings
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21214 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-afp.c')
-rw-r--r-- | epan/dissectors/packet-afp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/dissectors/packet-afp.c b/epan/dissectors/packet-afp.c index c07cd45bef..c702a5d817 100644 --- a/epan/dissectors/packet-afp.c +++ b/epan/dissectors/packet-afp.c @@ -1056,7 +1056,7 @@ decode_vol_attribute (proto_tree *tree, tvbuff_t *tvb, gint offset) #define DATE_NOT_SET 0x80000000 #define AD_DATE_DELTA 946684800 #define AD_DATE_TO_UNIX(x) (x + AD_DATE_DELTA) -static guint32 +static void print_date(proto_tree *tree,int id, tvbuff_t *tvb, gint offset) { time_t date = tvb_get_ntohl(tvb, offset); @@ -1065,8 +1065,6 @@ print_date(proto_tree *tree,int id, tvbuff_t *tvb, gint offset) tv.secs = AD_DATE_TO_UNIX(date); tv.nsecs = 0; proto_tree_add_time(tree, id, tvb, offset, 4, &tv); - - return (guint32) date; } /* -------------------------- */ |