OSDN Git Service

Multiple fixes for compilation with gcc 6
authorSteve McIntyre <steve@einval.com>
Wed, 20 Jan 2016 17:44:28 +0000 (17:44 +0000)
committerPeter Jones <pjones@redhat.com>
Wed, 20 Jan 2016 18:29:21 +0000 (13:29 -0500)
commitc82b13556ae142cec420258b8563f0dabb3dad83
treeddb4498a59c4fb891f29f9dbba29b599fc613e04
parent77829f25236b4ac8cc6556019319c8d2a16575d9
Multiple fixes for compilation with gcc 6

Multiple instances of non-NULL sanity checks against function
arguments declared as __attribute__((__nonnull__)); gcc 6 now triggers
warnings on these.

dp.c: Remove Unused variable end_instance

linux.c: Fix warnings about dereferencing type-punned pointers: switch
from char * to uint8_t * in various places

Signed-off-by: Steve McIntyre <steve@einval.com>
src/creator.c
src/dp-acpi.c
src/dp.c
src/export.c
src/guid.c
src/linux.c
src/loadopt.c
src/ucs2.h