mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Fix Error: slcan.c:265:19: error: variable 'reccount' is uninitialized when used here [-Werror,-Wuninitialized]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
46fac8c851
commit
8094ced139
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ int main(int argc, char *argv[])
|
|||
int nbytes;
|
||||
int i;
|
||||
int ret;
|
||||
int reccount;
|
||||
int reccount = 0;
|
||||
struct sockaddr_can addr;
|
||||
struct canfd_frame frame;
|
||||
struct msghdr msg;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue