Hi Marcel!
Sorry sorry!! This is obviously not necessary!
This is code that was left when I tried to split up my original big patch.
This was part of code trying to solve a possible divided by 0.
int q = 0;
...
if (num)
q = cnt / num;
*quote = q ? q : 1;
But I'm not su
Hi Rickard,
> There is a risk that the variable will be used without being initialized.
>
> This was largely found by using a static code analysis program called
> cppcheck.
>
> Signed-off-by: Rickard Strandqvist
> ---
> net/bluetooth/hci_core.c |2 +-
> 1 file changed, 1 insertion(+), 1 de
2 matches
Mail list logo