From 403d1302de1b1d3de4d2a67a79c00819c31e9435 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 29 Jan 2004 10:44:18 +0000 Subject: [PATCH] Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6404 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 828f091166..d741cdc4cb 100644 --- a/src/add-ons/kernel/file_systems/bfs/Index.cpp +++ b/src/add-ons/kernel/file_systems/bfs/Index.cpp @@ -194,11 +194,11 @@ Index::Create(Transaction *transaction, const char *name, uint32 type) return B_BAD_TYPE; } - status_t status; // do we need to create the index directory first? if (fVolume->IndicesNode() == NULL) { - if ((status = fVolume->CreateIndicesRoot(transaction)) < B_OK) + status_t status = fVolume->CreateIndicesRoot(transaction); + if (status < B_OK) RETURN_ERROR(status); }