diff options
author | Andreas Baumann <Andreas.Baumann@eurospider.com> | 2010-05-18 13:42:35 +0200 |
---|---|---|
committer | Andreas Baumann <Andreas.Baumann@eurospider.com> | 2010-05-18 13:42:35 +0200 |
commit | 276623c694bf18fce145c9a7defb4a9de7460ae9 (patch) | |
tree | ab2ba6a3654979f36b594556212ba13e77765f7a /src | |
parent | 9e6b3e8cb353583fb1aba7c7dc00d2871b356cc4 (diff) | |
download | wolfbones-276623c694bf18fce145c9a7defb4a9de7460ae9.tar.gz wolfbones-276623c694bf18fce145c9a7defb4a9de7460ae9.tar.bz2 |
compiles again, big issue around how to deal with i18n/error handling and library loader
Diffstat (limited to 'src')
-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; } |