]> Savannah Git Hosting - gnulib.git/commit
obstack: pacify GCC 6 with -Wnull-dereference
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 15 Jul 2016 08:35:22 +0000 (10:35 +0200)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 15 Jul 2016 10:15:37 +0000 (12:15 +0200)
commit77d36b554f9742c91d7645f7648190af619284c0
treea2bb973e5e1011c9df269a1ae857e422305bfe27
parentff72e641aabbfb4104868c31ba72bfa9de05fe88
obstack: pacify GCC 6 with -Wnull-dereference

Problem reported by Assaf Gordon in:
http://lists.gnu.org/archive/html/bug-gnulib/2016-07/msg00028.html
* lib/obstack.c, lib/obstack.h (obstack_alloc_failed_handler):
Declare with __attribute_noreturn__.
* lib/obstack.h (__attribute_noreturn__): New macro.
ChangeLog
lib/obstack.c
lib/obstack.h