changeset 194:0e75deb7d4d1

Remove workaround for previous file format compatibility changes.
author mas01cr
date Wed, 21 Nov 2007 11:38:19 +0000
parents f9d16137e704
children 8c81cacf5aab
files audioDB.cpp
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/audioDB.cpp	Wed Nov 21 11:35:44 2007 +0000
+++ b/audioDB.cpp	Wed Nov 21 11:38:19 2007 +0000
@@ -503,11 +503,6 @@
     error("database file has incorect version", dbName);
   }
 
-  // FIXME: when changing file format version, remove this workaround.
-  if(dbH->dbSize == 0) {
-    dbH->dbSize = O2_DEFAULTDBSIZE;
-  }
-
   // mmap the database file
   if ((db = (char*) mmap(0, dbH->dbSize, PROT_READ | (forWrite ? PROT_WRITE : 0),
 			 MAP_SHARED, dbfid, 0)) == (caddr_t) -1)