ovs_events: fix scan-build warnings #2205
authorMytnyk, VolodymyrX <volodymyrx.mytnyk@intel.com>
Mon, 6 Mar 2017 16:52:10 +0000 (16:52 +0000)
committerMytnyk, VolodymyrX <volodymyrx.mytnyk@intel.com>
Fri, 10 Mar 2017 10:42:17 +0000 (10:42 +0000)
commit4256753373b8f61dc1928dfc7b0564f2fbc32289
treee00f6ff36ad39971347d0bd64524dfe6567ecad9
parent0adbc78c13d2adf8ec928efe8cfa118f853e5f9a
ovs_events: fix scan-build warnings #2205

src/utils_ovs.c:366:20: warning: Access to field 'type' results in a dereference of a null pointer (loaded from variable 'jval')
              (int)(jval)->type);
                   ^~~~~~~~~~~~
...

Change-Id: Ic856d21f2121f920bdd2043c69620555bb3d1cb8
Signed-off-by: Mytnyk, VolodymyrX <volodymyrx.mytnyk@intel.com>
src/ovs_stats.c
src/utils_ovs.c