diff --git a/src/kits/storage/EntryOperationEngineBase.cpp b/src/kits/storage/EntryOperationEngineBase.cpp index 25fd8efd03..e03c0d8def 100644 --- a/src/kits/storage/EntryOperationEngineBase.cpp +++ b/src/kits/storage/EntryOperationEngineBase.cpp @@ -64,7 +64,7 @@ status_t BEntryOperationEngineBase::Entry::GetPath(BPath& buffer, const char*& _path) const { - status_t error; + status_t error = B_OK; if (fEntry != NULL) { error = buffer.SetTo(fEntry);