]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: avoid a -Werror=null-dereference with GCC-6.3.1
authorPádraig Brady <P@draigBrady.com>
Mon, 27 Feb 2017 08:47:30 +0000 (00:47 -0800)
committerPádraig Brady <P@draigBrady.com>
Wed, 1 Mar 2017 03:26:04 +0000 (19:26 -0800)
commit06c3123f6eeecd0ef2698504c3da76834acac8db
treed4c43dcc67664461c575d2b406fd2fdbc5b89aa5
parentb1413b6011cd368fb4244f0aa79f4c4ea5ab50c5
maint: avoid a -Werror=null-dereference with GCC-6.3.1

* src/stty.c (sane_mode): Assert to inform the compiler
we know the pointer will be valid.
src/stty.c