Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test/event: avoid duplicate initialization
[ upstream commit 8c08b10d047ac64fb98709871b192698663af7d7 ] The event_dev_config initialization had duplicate assignments to the same element. Change to use structure initialization so that compiler will catch this type of bug. Link: https://pvs-studio.com/en/blog/posts/cpp/1179/ Fixes: f8f9d23 ("test/eventdev: add unit tests") Signed-off-by: Stephen Hemminger <[email protected]> Acked-by: Bruce Richardson <[email protected]> Acked-by: Abhinandan Gujjar <[email protected]>
- Loading branch information