j1939cat: j1939cat_send(): fix uninitialized variable
parent
0b84a782c2
commit
7e8cfac0de
|
|
@ -509,7 +509,7 @@ static int j1939cat_send(struct j1939cat_priv *priv)
|
|||
{
|
||||
unsigned int size = 0;
|
||||
unsigned int i;
|
||||
int ret;
|
||||
int ret = 0;
|
||||
|
||||
if (priv->todo_filesize)
|
||||
size = j1939cat_get_file_size(priv->infile);
|
||||
|
|
|
|||
Loading…
Reference in New Issue