]> granicus.if.org Git - libatomic_ops/commit
Workaround 'uninitialized variable' cppcheck error in hpc/hppa.h
authorIvan Maidanski <ivmai@mail.ru>
Mon, 24 Apr 2017 17:26:38 +0000 (20:26 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 24 Apr 2017 17:26:38 +0000 (20:26 +0300)
commitca46d6f4ca38dcc960ba103f7b01084931ea6695
tree9fd3f7f91b2dcb91305985404bda57905ad4df69
parent8fd0719c6bccff3f2b0743282453cc497dff8035
Workaround 'uninitialized variable' cppcheck error in hpc/hppa.h

* src/atomic_ops/sysdeps/hpc/hppa.h [CPPCHECK] (AO_test_and_set_full):
Initialize "ret" local variable (to zero) before AO_ldcw call; add
comment.
src/atomic_ops/sysdeps/hpc/hppa.h