gcc 4 warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31192 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -708,7 +708,7 @@ x86_early_prepare_page_tables(page_table_entry* pageTables, addr_t address,
|
|||||||
|
|
||||||
for (size_t i = 0; i < (size / (B_PAGE_SIZE * 1024));
|
for (size_t i = 0; i < (size / (B_PAGE_SIZE * 1024));
|
||||||
i++, virtualTable += B_PAGE_SIZE) {
|
i++, virtualTable += B_PAGE_SIZE) {
|
||||||
addr_t physicalTable;
|
addr_t physicalTable = 0;
|
||||||
early_query(virtualTable, &physicalTable);
|
early_query(virtualTable, &physicalTable);
|
||||||
page_directory_entry* entry = &sPageHolePageDir[
|
page_directory_entry* entry = &sPageHolePageDir[
|
||||||
(address / (B_PAGE_SIZE * 1024)) + i];
|
(address / (B_PAGE_SIZE * 1024)) + i];
|
||||||
|
|||||||
@@ -646,7 +646,7 @@ struct realtime_sem_context {
|
|||||||
uint32 semCount, sem_t* userSem, sem_t*& _usedUserSem, int32_t& _id,
|
uint32 semCount, sem_t* userSem, sem_t*& _usedUserSem, int32_t& _id,
|
||||||
bool& _created)
|
bool& _created)
|
||||||
{
|
{
|
||||||
NamedSem* sem;
|
NamedSem* sem = NULL;
|
||||||
status_t error = sSemTable.OpenNamedSem(name, openFlags, mode, semCount,
|
status_t error = sSemTable.OpenNamedSem(name, openFlags, mode, semCount,
|
||||||
sem, _created);
|
sem, _created);
|
||||||
if (error != B_OK)
|
if (error != B_OK)
|
||||||
|
|||||||
Reference in New Issue
Block a user