cfgfile: remove unnecessary initialization
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 18 Jul 2019 17:18:10 +0000 (10:18 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 18 Jul 2019 22:47:44 +0000 (00:47 +0200)
commit1b58407653efa1a69ba8872b2724263554b5e4f4
tree99b39ea0f0f2b9b0143a2f3b1ec1a38682785739
parent6796c5ddafe6159ea0096b61d0fc9b91aa15992e
cfgfile: remove unnecessary initialization

No need to initialize variable if it is immediately overwritten.
It is better style not do unnecessary initialization with modern
tools since it lets compiler and other static checkers detect
uninitialized data.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
lib/librte_cfgfile/rte_cfgfile.c