Fix warnings about redundant statements when building without RO types.

This commit is contained in:
Michael Drake 2014-05-26 10:51:46 +01:00
parent cd89779831
commit 8b9f2e7ee6
3 changed files with 12 additions and 3 deletions

View File

@ -32,7 +32,10 @@ nserror artworks_init(void);
#else
#define artworks_init() NSERROR_OK
static inline nserror artworks_init(void)
{
return NSERROR_OK;
}
#endif

View File

@ -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 */

View File

@ -32,7 +32,10 @@ nserror sprite_init(void);
#else
#define sprite_init() NSERROR_OK
static inline nserror sprite_init(void)
{
return NSERROR_OK;
}
#endif