@@ -483,7 +483,7 @@ partial_upload_identity_iolist() ->
483
483
? assertEqual (" This is chunky stuff!" ,
484
484
lhttpc_lib :header_value (" x-test-orig-body" , headers (Response1 ))),
485
485
% Make sure it works with no body part in the original request as well
486
- {ok , UploadState2 } = lhttpc :request_client (Client , URL , post , Hdrs , [], 1000 , Options ),
486
+ {ok , _UploadState2 } = lhttpc :request_client (Client , URL , post , Hdrs , [], 1000 , Options ),
487
487
{ok , Response2 } = upload_parts (Client , Body ++ [http_eob ]),
488
488
? assertEqual ({200 , " OK" }, status (Response2 )),
489
489
? assertEqual (list_to_binary (webserver_utils :default_string ()), body (Response2 )),
@@ -790,7 +790,7 @@ read_partial_body(Client, Size, Acc) ->
790
790
? assert (Size >= iolist_size (Bin ))
791
791
end ,
792
792
read_partial_body (Client , Size , <<Acc /binary ,Bin /binary >>);
793
- {http_eob , Trailers } ->
793
+ {http_eob , _Trailers } ->
794
794
Acc ;
795
795
{body_part_error , Reason } ->
796
796
{error , Reason , Acc }
0 commit comments