From 8b9f2e7ee64f0eccb825ebc06a23abf322e3bb6e Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 26 May 2014 10:51:46 +0100 Subject: Fix warnings about redundant statements when building without RO types. --- riscos/content-handlers/draw.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'riscos/content-handlers/draw.h') diff --git a/riscos/content-handlers/draw.h b/riscos/content-handlers/draw.h index 76fcbc8dc..9f5baf6dc 100644 --- a/riscos/content-handlers/draw.h +++ b/riscos/content-handlers/draw.h @@ -32,7 +32,10 @@ nserror draw_init(void); #else -#define draw_init() NSERROR_OK +static inline nserror draw_init(void) +{ + return NSERROR_OK; +} #endif /* WITH_DRAW */ -- cgit v1.2.3