On 8/22/20 5:49 PM, Alan Stern wrote:
> On Sat, Aug 22, 2020 at 02:18:39PM -0700, t...@redhat.com wrote:
>> From: Tom Rix
>>
>> clang static analysis reports this representative problem
>>
>> transport.c:495:15: warning: Assigned value is garbage or
>> undefined
>> length_left -= parti
On Sat, Aug 22, 2020 at 02:18:39PM -0700, t...@redhat.com wrote:
> From: Tom Rix
>
> clang static analysis reports this representative problem
>
> transport.c:495:15: warning: Assigned value is garbage or
> undefined
> length_left -= partial;
>^ ~~~
> partial i
From: Tom Rix
clang static analysis reports this representative problem
transport.c:495:15: warning: Assigned value is garbage or
undefined
length_left -= partial;
^ ~~~
partial is set only when usb_stor_bulk_transfer_sglist()
is successful.
So initialize to pa
3 matches
Mail list logo