mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-19 08:31:11 +00:00
Resolved spurious static analyser complaint: input_size and output_size aren't supposed to have defined values if input or output is null. But whatever.
This commit is contained in:
parent
aff69dbc34
commit
97cdfea9e9
@ -41,7 +41,7 @@ void ArrayBuilder::flush(const std::function<void(uint8_t *input, size_t input_s
|
||||
{
|
||||
if(!is_full_)
|
||||
{
|
||||
size_t input_size, output_size;
|
||||
size_t input_size = 0, output_size = 0;
|
||||
uint8_t *input = input_.get_unflushed(input_size);
|
||||
uint8_t *output = output_.get_unflushed(output_size);
|
||||
function(input, input_size, output, output_size);
|
||||
|
Loading…
Reference in New Issue
Block a user