mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 23:28:29 +08:00
SAMA5 sam_mcan.c unitialized variable
This commit is contained in:
committed by
Alan C. Assis
parent
b025c6285d
commit
5a4d31f315
@@ -1425,7 +1425,7 @@ static void mcan_buffer_reserve(struct sam_mcan_s *priv)
|
||||
int tffl;
|
||||
#endif
|
||||
int sval;
|
||||
int ret;
|
||||
int ret = 0;
|
||||
|
||||
/* Wait until we successfully get the semaphore. EINTR is the only
|
||||
* expected 'failure' (meaning that the wait for the semaphore was
|
||||
|
||||
Reference in New Issue
Block a user