Re: [dpdk-dev] [PATCH 3/4] examples/qos_sched: suppress GCC 7.1.1 warnings

2017-06-02 Thread Dumitrescu, Cristian
@redhat.com; Jerin Jacob > > Subject: [dpdk-dev] [PATCH 3/4] examples/qos_sched: suppress GCC 7.1.1 > warnings > > This one is more of a compiler issue as application > checks the app_parse_opt_vals() return value. > > Since this code is in slow path, adding a memset

[dpdk-dev] [PATCH 3/4] examples/qos_sched: suppress GCC 7.1.1 warnings

2017-06-02 Thread Jerin Jacob
This one is more of a compiler issue as application checks the app_parse_opt_vals() return value. Since this code is in slow path, adding a memset to fix following "maybe-uninitialized" warning. qos_sched/args.c: In function ‘app_parse_args’: examples/qos_sched/args.c:254:32: error: ‘vals[0]’ may