diff options
Diffstat (limited to 'src/library/loader.c')
-rw-r--r-- | src/library/loader.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/library/loader.c b/src/library/loader.c index 173607c..530715b 100644 --- a/src/library/loader.c +++ b/src/library/loader.c @@ -79,6 +79,11 @@ wolf_error_t wolf_library_unload( wolf_library_p l ) { } char *wolf_libary_errmsg( const wolf_error_t error, const wolf_library_p library, char *buf, size_t buflen ) { + WOLF_UNUSED( error ); + WOLF_UNUSED( library ); + WOLF_UNUSED( buf ); + WOLF_UNUSED( buflen ); +#if 0 switch( error ) { /* TODO: we repeat ourself here! Have a function in errors.h for generic mapping? */ case WOLF_ERR_OUT_OF_MEMORY: @@ -93,6 +98,7 @@ char *wolf_libary_errmsg( const wolf_error_t error, const wolf_library_p library snprintf( buf, buflen, _( "<unknown error>" ) ); break; } +#endif return buf; } |