eenurkka opened a new pull request #4788:
URL: https://github.com/apache/incubator-nuttx/pull/4788


   cppcheck reports the following:
   
   arch/risc-v/src/mpfs/mpfs_emmcsd.c:2375:22: error: Uninitialized variable: 
waitbits [uninitvar]
     while (!(status & (waitbits | MPFS_EMMCSD_SRS12_EINT))
   
   The finding is positive and this patch initializes it to
   zero properly.
   
   Signed-off-by: Eero Nurkkala <eero.nurkk...@offcode.fi>
   
   ## Summary
   
   Uninitilized variable is likely to cause random, unwanted effect
   
   ## Impact
   
   No impact
   
   ## Testing
   
   No testing, obvious error


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to