mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-16 17:22:44 +03:00
Fix warnings about redundant statements when building without RO types.
This commit is contained in:
parent
cd89779831
commit
8b9f2e7ee6
@ -32,7 +32,10 @@ nserror artworks_init(void);
|
||||
|
||||
#else
|
||||
|
||||
#define artworks_init() NSERROR_OK
|
||||
static inline nserror artworks_init(void)
|
||||
{
|
||||
return NSERROR_OK;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -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 */
|
||||
|
||||
|
@ -32,7 +32,10 @@ nserror sprite_init(void);
|
||||
|
||||
#else
|
||||
|
||||
#define sprite_init() NSERROR_OK
|
||||
static inline nserror sprite_init(void)
|
||||
{
|
||||
return NSERROR_OK;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user