ecere/sys/EARArchive: Fixed bad return values
authorJerome St-Louis <jerome@ecere.com>
Tue, 1 Apr 2014 16:18:30 +0000 (12:18 -0400)
committerJerome St-Louis <jerome@ecere.com>
Tue, 1 Apr 2014 16:18:30 +0000 (12:18 -0400)
ecere/src/sys/EARArchive.ec

index fee97e2..85d59d0 100644 (file)
@@ -327,7 +327,7 @@ class EARArchive : Archive
                Defrag(position + sizeof(EAREntry) + entry.nameLen);
          }
          else
-            return 0;
+            return;
       }
 
       // Move all the blocks
@@ -623,7 +623,7 @@ class EARArchive : Archive
    {
       uint first, last;
       if(!f.Read(&first, sizeof(uint), 1))
-         return 0;
+         return;
 #ifdef _DEBUG
       if(first > f.GetSize())
       {