examples/ip_pipeline: fix parsing error code
Coverity issue: 107136
Fixes: 7f64b9c004
("examples/ip_pipeline: rework config file syntax")
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
This commit is contained in:
parent
fa843ff265
commit
27e87b26d4
@ -1631,8 +1631,8 @@ parse_tm(struct app_params *app,
|
||||
param->file_name = strdup(ent->value);
|
||||
if (param->file_name == NULL)
|
||||
ret = -EINVAL;
|
||||
|
||||
ret = 0;
|
||||
else
|
||||
ret = 0;
|
||||
} else if (strcmp(ent->name, "burst_read") == 0)
|
||||
ret = parser_read_uint32(¶m->burst_read,
|
||||
ent->value);
|
||||
|
Loading…
Reference in New Issue
Block a user