From 3d8d4700409aefca8658da9ae791f07725cd0c92 Mon Sep 17 00:00:00 2001 From: adrian <> Date: Sat, 29 Apr 2000 01:06:51 +0000 Subject: [PATCH] Removing a redundant bit set. Its no longer needed in the new filemap code, and it could possibly be confusing. --- src/filemap.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/filemap.cc b/src/filemap.cc index c54c0b4bb0..fb292a6631 100644 --- a/src/filemap.cc +++ b/src/filemap.cc @@ -1,6 +1,6 @@ /* - * $Id: filemap.cc,v 1.34 2000/03/06 16:23:31 wessels Exp $ + * $Id: filemap.cc,v 1.35 2000/04/28 19:06:51 adrian Exp $ * * DEBUG: section 8 Swap File Bitmap * AUTHOR: Harvest Derived @@ -133,7 +133,7 @@ file_map_allocate(fileMap * fm, int suggestion) for (bit = 0; bit < BITS_IN_A_LONG; bit++) { suggestion = ((unsigned long) word << LONG_BIT_SHIFT) | bit; if (!file_map_bit_test(fm, suggestion)) { - return file_map_bit_set(fm, suggestion); + return suggestion; } } debug(8, 3) ("growing from file_map_allocate\n"); -- 2.47.3