From: Jan Moskyto Matejka Date: Thu, 21 Jan 2016 14:46:33 +0000 (+0100) Subject: BSD: fix no-return warning X-Git-Tag: v2.0.0-pre0~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fad92144ee2e3a818a7510554d2144e46c3a4c8;p=thirdparty%2Fbird.git BSD: fix no-return warning --- diff --git a/sysdep/bsd/krt-sys.h b/sysdep/bsd/krt-sys.h index cc3f4a774..870cdf2ce 100644 --- a/sysdep/bsd/krt-sys.h +++ b/sysdep/bsd/krt-sys.h @@ -46,6 +46,6 @@ static inline void krt_sys_io_init(void) { } static inline void krt_sys_init(struct krt_proto *p UNUSED) { } static inline void krt_sys_postconfig(struct krt_config *x UNUSED) { } -static inline int krt_sys_get_attr(eattr *a UNUSED, byte *buf UNUSED, int buflen UNUSED) { } +static inline int krt_sys_get_attr(eattr *a UNUSED, byte *buf UNUSED, int buflen UNUSED) { return GA_UNKNOWN; } #endif