MySQL: Fix Dead Store Found by Clang Analyzer

Line 3728 Value stored to 'offset' is never read
This commit is contained in:
Alexis La Goutte 2023-01-17 09:32:50 +00:00
parent 2dd8345895
commit 3504b423b9
1 changed files with 1 additions and 1 deletions

View File

@ -3725,7 +3725,7 @@ dissect_mysql_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* dat
if ((conn_data->frame_start_compressed) && (pinfo->num > conn_data->frame_start_compressed)) {
if (conn_data->compressed_state == MYSQL_COMPRESS_ACTIVE) {
offset = mysql_dissect_compressed(tvb, offset, tree, pinfo, conn_data);
mysql_dissect_compressed(tvb, offset, tree, pinfo, conn_data);
return tvb_reported_length(tvb);
}
}