gcc 4 warnings.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31192 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2009-06-23 01:29:47 +00:00
parent 5ea5f51d84
commit 6a6974b63e
2 changed files with 2 additions and 2 deletions

View File

@ -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));
i++, virtualTable += B_PAGE_SIZE) {
addr_t physicalTable;
addr_t physicalTable = 0;
early_query(virtualTable, &physicalTable);
page_directory_entry* entry = &sPageHolePageDir[
(address / (B_PAGE_SIZE * 1024)) + i];

View File

@ -646,7 +646,7 @@ struct realtime_sem_context {
uint32 semCount, sem_t* userSem, sem_t*& _usedUserSem, int32_t& _id,
bool& _created)
{
NamedSem* sem;
NamedSem* sem = NULL;
status_t error = sSemTable.OpenNamedSem(name, openFlags, mode, semCount,
sem, _created);
if (error != B_OK)