Add warn_unused_result check, attribute only supported by GCC 3.4 or later
authorPatrick Farrell <pfarrell@persistentsystems.com>
Tue, 5 Apr 2016 20:59:07 +0000 (16:59 -0400)
committerAndy Green <andy@warmcat.com>
Fri, 29 Apr 2016 18:08:11 +0000 (02:08 +0800)
commitc6e497ea481b00a6cc99200aaa293e8f02df4abf
tree341f69ad6bc7d831c2e32e17436ddcb368684305
parent96487167ddd19cd6e22c115156f609257b19169c
Add warn_unused_result check, attribute only supported by GCC 3.4 or later

warn_unused_result was introduced in GCC version 3.4.

Change-Id: I6c2cc938d2b868ddfe0889cc41d7fa9d70e1b907
lib/libwebsockets.h