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:
Michael Pfeiffer
2003-10-14 17:04:48 +00:00
parent e75df357b9
commit 4c6f063e7e
+2 -1
View File
@@ -58,6 +58,7 @@ PrintJobPage& PrintJobPage::operator=(const PrintJobPage& copy) {
fPicture = copy.fPicture;
fStatus = copy.fStatus;
}
return *this;
}
PrintJobPage::PrintJobPage(BFile* jobFile, off_t start)
@@ -135,7 +136,7 @@ void PrintJobReader::BuildPageIndex() {
fPageIndex[page] < next_page) {
fJobFile.Seek(next_page, SEEK_SET);
} else {
fNumberOfPages = 0; delete fPageIndex; fPageIndex = NULL;
fNumberOfPages = 0; delete fPageIndex; fPageIndex = NULL;
return;
}
}