app/crypto-perf: fix build with -Ofast
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Fri, 13 Oct 2017 09:20:14 +0000 (10:20 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Oct 2017 10:51:27 +0000 (12:51 +0200)
commit3486534628cd963d893c0978efb392c5e8a2d3c3
tree18eadf94d8e839585934ecb90f702ce2e15a942e
parent562251e007ebe143031064708c3bee0d69cc961a
app/crypto-perf: fix build with -Ofast

app/test-crypto-perf/main.c:596:6: error: ‘total_nb_qps’ may be
used uninitialized in this function [-Werror=maybe-uninitialized]
   if (i == total_nb_qps)
      ^

Fixes: c4f916e33226 ("app/crypto-perf: support multiple queue pairs")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
app/test-crypto-perf/main.c