wangzhi-art opened a new pull request, #15683:
URL: https://github.com/apache/nuttx/pull/15683

   *Note: Please adhere to [Contributing 
Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).*
   
   ## Summary
   
   fix compile error
   CC: socket/listen.c chip/lpc17_40_i2c.c: In function 
'lpc17_40_i2cbus_initialize': chip/lpc17_40_i2c.c:534:29: warning: 'priv' is 
used uninitialized [-Wuninitialized]
   534 | flags = spin_lock_irqsave(&priv->spinlock);
   | ^~~~~~~~~~~~~~~
   chip/lpc17_40_i2c.c:529:29: note: 'priv' was declared here
   529 | struct lpc17_40_i2cdev_s *priv;
   | ^~~~
   
   ## Impact
   
   none
   
   ## Testing
   
   CI
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to