From 276623c694bf18fce145c9a7defb4a9de7460ae9 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 18 May 2010 13:42:35 +0200 Subject: compiles again, big issue around how to deal with i18n/error handling and library loader --- src/library/loader.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') 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, _( "" ) ); break; } +#endif return buf; } -- cgit v1.2.3-54-g00ecf