diff options
Diffstat (limited to 'apps/database.c')
| -rw-r--r-- | apps/database.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/database.c b/apps/database.c index d9a59b4..f4d6e47 100644 --- a/apps/database.c +++ b/apps/database.c @@ -288,14 +288,13 @@ void rundb_track_changed(struct track_info *ti) { int rundb_init(void) { +#if CONFIG_HWCODEC != MASNONE + return -1; +#else unsigned char* ptr = (char*)&rundbheader.version; #ifdef ROCKBOX_LITTLE_ENDIAN int i, *p; #endif - -#if CONFIG_HWCODEC != MASNONE - return -1; -#else if(!tagdb_initialized) /* forget it.*/ return -1; |