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:
parent
edf668344a
commit
088136f66b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user