From 42fe8ffbd27655613576dcb774c18f5e07b240f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 25 Jun 2008 11:45:03 +0000 Subject: [PATCH] * This fixes the stupid compiler warning reported by Vasilis. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26129 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/file_systems/bfs/Inode.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/add-ons/kernel/file_systems/bfs/Inode.h b/src/add-ons/kernel/file_systems/bfs/Inode.h index 546bc2590f..a9a07f90e9 100644 --- a/src/add-ons/kernel/file_systems/bfs/Inode.h +++ b/src/add-ons/kernel/file_systems/bfs/Inode.h @@ -307,8 +307,7 @@ class Vnode { status_t Get(Inode** _inode) { - if (fStatus == B_OK) - *_inode = fInode; + *_inode = fInode; return fStatus; } @@ -327,7 +326,7 @@ class AttributeIterator { public: AttributeIterator(Inode *inode); ~AttributeIterator(); - + status_t Rewind(); status_t GetNext(char *name, size_t *length, uint32 *type, ino_t *id);