ftp: fix Dead Store found by Clang Analyzer

line 949, column 5 Value stored to 'offset' is never read
This commit is contained in:
Alexis La Goutte 2022-10-31 13:49:10 +00:00 committed by AndersBroman
parent 2ad4b5bb3c
commit 8d17d1fe7a
1 changed files with 0 additions and 1 deletions

View File

@ -946,7 +946,6 @@ static void process_pwd_success(ftp_conversation_t *conv, tvbuff_t *tvb,
{
wmem_strbuf_t *output;
const char *line = tvb_get_ptr(tvb, offset, linelen);
offset = 0;
gboolean outputStarted = FALSE;
/* Line must start with quotes */