pipeline: fix argument check
Coverity issue: 362789
Fixes: 3ca60ceed7
("pipeline: add SWX pipeline specification file")
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
This commit is contained in:
parent
faa4536684
commit
c0c9dcef88
@ -1064,7 +1064,7 @@ rte_swx_pipeline_build_from_spec(struct rte_swx_pipeline *p,
|
||||
goto error;
|
||||
}
|
||||
|
||||
if (!p) {
|
||||
if (!spec) {
|
||||
if (err_line)
|
||||
*err_line = 0;
|
||||
if (err_msg)
|
||||
|
Loading…
Reference in New Issue
Block a user