aboutsummaryrefslogtreecommitdiff
path: root/include/odp/api/version.h
diff options
context:
space:
mode:
authorMaxim Uvarov <maxim.uvarov@linaro.org>2015-02-20 21:20:10 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2015-02-20 21:27:37 +0300
commit898f42e3a619461a69ca7f16eee3f985fa8287c1 (patch)
tree1130828f393af63aca2bdc0fd500287e7d8a113b /include/odp/api/version.h
parent1ddfc9a9a1a278fcc8e5db8b1a23c402cee3c33d (diff)
linux-generic: pool set seg_len to 0
gcc 4.9 compiles current code fine, but gcc 4.7 fails with: odp_pool.c:293:20: error: 'seg_len' may be used uninitialized in this function Problem found with gcc 4.7 and make distcheck command which added additional flags for odp compilation. If newer gcc does not warn that variable can be used uninitialized (not for packet case in this function), it looks like compiler bug. Init it to 0 because pool creation is not performance function. Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'include/odp/api/version.h')
0 files changed, 0 insertions, 0 deletions