mirror of
https://github.com/raspberrypi/userland.git
synced 2025-12-06 04:49:12 +00:00
Assorted clang static analysis fixes
This commit is contained in:
@@ -2364,7 +2364,8 @@ int dtoverlay_next_pin(PIN_ITER_T *iter, int *pin, int *func, int *pull)
|
||||
if ((iter->pin_off) + 4 <= iter->pins_len)
|
||||
{
|
||||
int off = iter->pin_off;
|
||||
*pin = GETBE4(iter->pins, off);
|
||||
if (pin)
|
||||
*pin = GETBE4(iter->pins, off);
|
||||
if (func && iter->funcs_len)
|
||||
*func = GETBE4(iter->funcs, (iter->funcs_len > 4) ? off : 0);
|
||||
if (pull && iter->pulls_len)
|
||||
|
||||
Reference in New Issue
Block a user