mirror of
https://github.com/linux-can/can-utils.git
synced 2026-09-20 23:12:09 +02:00
j1939cat: j1939cat_send(): fix uninitialized variable
This commit is contained in:
+1
-1
@@ -509,7 +509,7 @@ static int j1939cat_send(struct j1939cat_priv *priv)
|
|||||||
{
|
{
|
||||||
unsigned int size = 0;
|
unsigned int size = 0;
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
int ret;
|
int ret = 0;
|
||||||
|
|
||||||
if (priv->todo_filesize)
|
if (priv->todo_filesize)
|
||||||
size = j1939cat_get_file_size(priv->infile);
|
size = j1939cat_get_file_size(priv->infile);
|
||||||
|
|||||||
Reference in New Issue
Block a user