gcc 4 warned unnecessarily.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22440 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2007-10-04 17:59:29 +00:00
parent edf668344a
commit 088136f66b

View File

@ -88,7 +88,7 @@ KScanPartitionJob::_ScanPartition(KPartition *partition)
)
// publish the partition
status_t error;
status_t error = B_OK;
if (!partition->IsPublished()) {
error = partition->PublishDevice();
if (error != B_OK)