gatomic: fix -Wduplicated-branches

Desktop / GNOME / GLib - Ernestas Kulik [gnome.org] - 16 February 2018 15:43 EST

The checks that the argument passed is a pointer to an integer contain duplicate branches, which GCC complains about very loudly as of version 7.

https://bugzilla.gnome.org/show_bug.cgi?id=793399

62e816887 gatomic: fix -Wduplicated-branches
glib/gatomic.h | 46 +++++++++++++++++++++++-----------------------
1 file changed, 23 insertions(+), 23 deletions(-)

Upstream: git.gnome.org


  • Share