smb: remove double assign

The same value is assigned the same value already a few lines above.
Pointed out by PVS.

Ref: #10929
Closes #10945
This commit is contained in:
Daniel Stenberg 2023-04-13 09:33:55 +02:00
parent 19c36f5ca3
commit d50045509c
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -819,7 +819,6 @@ static CURLcode smb_request_state(struct Curl_easy *data, bool *done)
next_state = SMB_UPLOAD;
}
else {
smb_m = (const struct smb_nt_create_response*) msg;
data->req.size = smb_swap64(smb_m->end_of_file);
if(data->req.size < 0) {
req->result = CURLE_WEIRD_SERVER_REPLY;