mqtt: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang

Change-Id: Ibd0041e0031c92073c89a1535677167e4fc90443
Reviewed-on: https://code.wireshark.org/review/24348
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Alexis La Goutte 2017-11-11 15:37:01 +01:00 committed by Anders Broman
parent fdc8845803
commit 1cf6d365b2
1 changed files with 1 additions and 1 deletions

View File

@ -968,7 +968,7 @@ static int dissect_mqtt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, voi
break;
}
return tvb_captured_length(tvb);
return offset;
}
/**