From 3c70366ab9daa1b34839be055d103557f339feff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Thu, 23 Feb 2006 09:23:14 +0000 Subject: [PATCH] fix for changes in revision 16498, pointed by Marcus git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16502 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/file_systems/bfs/Index.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/add-ons/kernel/file_systems/bfs/Index.cpp b/src/add-ons/kernel/file_systems/bfs/Index.cpp index 65320b0ecc..2fbe2c060e 100644 --- a/src/add-ons/kernel/file_systems/bfs/Index.cpp +++ b/src/add-ons/kernel/file_systems/bfs/Index.cpp @@ -255,7 +255,7 @@ Index::Update(Transaction &transaction, const char *name, int32 type, const uint BPlusTree *tree; if ((status = Node()->GetTree(&tree)) < B_OK) - status; + return status; // remove the old key from the tree @@ -265,7 +265,7 @@ Index::Update(Transaction &transaction, const char *name, int32 type, const uint // That's not nice, but should be no reason to let the whole thing fail INFORM(("Could not find value in index \"%s\"!\n", name)); } else if (status < B_OK) - status; + return status; } // add the new key to the tree