Fixed uninitialized local vars.

This commit is contained in:
Bahadir Balban
2009-08-14 12:54:54 +03:00
parent c7404c7322
commit 6a42491751
2 changed files with 2 additions and 2 deletions

View File

@@ -114,7 +114,7 @@ void fault_ipc_to_pager(u32 faulty_pc, u32 fsr, u32 far)
*/
int pager_pagein_request(unsigned long addr, unsigned long size, unsigned int flags)
{
u32 abort;
u32 abort = 0;
unsigned long npages = __pfn(align_up(size, PAGE_SIZE));
struct ipc_state ipc_state;

View File

@@ -575,7 +575,7 @@ int process_cap_info(struct cap_info *cap,
struct boot_resources *bootres,
struct kernel_container *kcont)
{
int ret;
int ret = 0;
switch (cap->type & CAP_RTYPE_MASK) {
case CAP_RTYPE_THREADPOOL: