.pylintrc: warning: ignored by one of the .gitignore files ../drivers/mailbox/pcc.c:496:6: warning: variable 'ret' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 496 | if (pchan->chan.rx_alloc) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/mailbox/pcc.c:498:6: note: uninitialized use occurs here 498 | if (ret) | ^~~ ../drivers/mailbox/pcc.c:496:2: note: remove the 'if' if its condition is always true 496 | if (pchan->chan.rx_alloc) | ^~~~~~~~~~~~~~~~~~~~~~~~~ 497 | ret = pcc_write_to_buffer(chan, data); ../drivers/mailbox/pcc.c:492:9: note: initialize the variable 'ret' to silence this warning 492 | int ret; | ^ | = 0 1 warning generated. .pylintrc: warning: ignored by one of the .gitignore files .pylintrc: warning: ignored by one of the .gitignore files ../drivers/mailbox/pcc.c:496:6: warning: variable 'ret' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 496 | if (pchan->chan.rx_alloc) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/mailbox/pcc.c:498:6: note: uninitialized use occurs here 498 | if (ret) | ^~~ ../drivers/mailbox/pcc.c:496:2: note: remove the 'if' if its condition is always true 496 | if (pchan->chan.rx_alloc) | ^~~~~~~~~~~~~~~~~~~~~~~~~ 497 | ret = pcc_write_to_buffer(chan, data); ../drivers/mailbox/pcc.c:492:9: note: initialize the variable 'ret' to silence this warning 492 | int ret; | ^ | = 0 1 warning generated. New errors added --- /tmp/tmp.RC4nrDibJG 2025-07-10 14:45:57.337673268 -0700 +++ /tmp/tmp.XhFPXVjxpr 2025-07-10 14:47:54.907723587 -0700 @@ -1,0 +2,15 @@ +../drivers/mailbox/pcc.c:496:6: warning: variable 'ret' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] + 496 | if (pchan->chan.rx_alloc) + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/mailbox/pcc.c:498:6: note: uninitialized use occurs here + 498 | if (ret) + | ^~~ +../drivers/mailbox/pcc.c:496:2: note: remove the 'if' if its condition is always true + 496 | if (pchan->chan.rx_alloc) + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 497 | ret = pcc_write_to_buffer(chan, data); +../drivers/mailbox/pcc.c:492:9: note: initialize the variable 'ret' to silence this warning + 492 | int ret; + | ^ + | = 0 +1 warning generated. Per-file breakdown --- /tmp/tmp.cxFjy1CrFn 2025-07-10 14:49:31.526586561 -0700 +++ /tmp/tmp.YJco7bue56 2025-07-10 14:49:31.529586546 -0700 @@ -0,0 +1 @@ + 2 ../drivers/mailbox/pcc.c