Added missing return statement.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5034 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -58,6 +58,7 @@ PrintJobPage& PrintJobPage::operator=(const PrintJobPage& copy) {
|
|||||||
fPicture = copy.fPicture;
|
fPicture = copy.fPicture;
|
||||||
fStatus = copy.fStatus;
|
fStatus = copy.fStatus;
|
||||||
}
|
}
|
||||||
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
PrintJobPage::PrintJobPage(BFile* jobFile, off_t start)
|
PrintJobPage::PrintJobPage(BFile* jobFile, off_t start)
|
||||||
@@ -135,7 +136,7 @@ void PrintJobReader::BuildPageIndex() {
|
|||||||
fPageIndex[page] < next_page) {
|
fPageIndex[page] < next_page) {
|
||||||
fJobFile.Seek(next_page, SEEK_SET);
|
fJobFile.Seek(next_page, SEEK_SET);
|
||||||
} else {
|
} else {
|
||||||
fNumberOfPages = 0; delete fPageIndex; fPageIndex = NULL;
|
fNumberOfPages = 0; delete fPageIndex; fPageIndex = NULL;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user