dir_vnode_to_path(): Fix uninitialized status variable

This commit is contained in:
Ingo Weinhold
2013-11-11 23:04:09 +01:00
parent 26aef3ac62
commit 104c0688da
+1 -1
View File
@@ -2578,7 +2578,7 @@ dir_vnode_to_path(struct vnode* vnode, char* buffer, size_t bufferSize,
int32 insert = bufferSize;
int32 maxLevel = 256;
int32 length;
status_t status;
status_t status = B_OK;
struct io_context* ioContext = get_current_io_context(kernel);
// we don't use get_vnode() here because this call is more