committed by
Jérôme Duval
parent
1d09e9cee3
commit
79895eed07
@@ -276,7 +276,7 @@ Shell::GetActiveProcessInfo(ActiveProcessInfo& _info) const
|
|||||||
// fetch the name and the current directory from the info
|
// fetch the name and the current directory from the info
|
||||||
const char* name;
|
const char* name;
|
||||||
int32 cwdDevice;
|
int32 cwdDevice;
|
||||||
int64 cwdDirectory;
|
int64 cwdDirectory = 0;
|
||||||
if (info.FindString("name", &name) != B_OK
|
if (info.FindString("name", &name) != B_OK
|
||||||
|| info.FindInt32("cwd device", &cwdDevice) != B_OK
|
|| info.FindInt32("cwd device", &cwdDevice) != B_OK
|
||||||
|| info.FindInt64("cwd directory", &cwdDirectory) != B_OK) {
|
|| info.FindInt64("cwd directory", &cwdDirectory) != B_OK) {
|
||||||
|
|||||||
@@ -266,8 +266,8 @@ private:
|
|||||||
return B_OK;
|
return B_OK;
|
||||||
|
|
||||||
// get the chunk offset and size
|
// get the chunk offset and size
|
||||||
uint64 offset;
|
uint64 offset = 0;
|
||||||
uint32 compressedSize;
|
uint32 compressedSize = 0;
|
||||||
status_t error = _GetCompressedChunkOffsetAndSize(chunkIndex, offset,
|
status_t error = _GetCompressedChunkOffsetAndSize(chunkIndex, offset,
|
||||||
compressedSize);
|
compressedSize);
|
||||||
if (error != B_OK)
|
if (error != B_OK)
|
||||||
|
|||||||
@@ -319,7 +319,7 @@ NetBootMethod::Init()
|
|||||||
status_t status;
|
status_t status;
|
||||||
|
|
||||||
uint64 clientMAC;
|
uint64 clientMAC;
|
||||||
uint32 clientIP;
|
uint32 clientIP = 0;
|
||||||
uint32 netMask;
|
uint32 netMask;
|
||||||
if (fBootVolume.FindInt64("client MAC", (int64*)&clientMAC) != B_OK
|
if (fBootVolume.FindInt64("client MAC", (int64*)&clientMAC) != B_OK
|
||||||
|| fBootVolume.FindInt32("client IP", (int32*)&clientIP) != B_OK) {
|
|| fBootVolume.FindInt32("client IP", (int32*)&clientIP) != B_OK) {
|
||||||
|
|||||||
@@ -240,7 +240,7 @@ private:
|
|||||||
MutexLocker locker(fLock);
|
MutexLocker locker(fLock);
|
||||||
|
|
||||||
int32 eventCode;
|
int32 eventCode;
|
||||||
int32 teamID;
|
int32 teamID = 0;
|
||||||
if (event->FindInt32("event", &eventCode) != B_OK
|
if (event->FindInt32("event", &eventCode) != B_OK
|
||||||
|| event->FindInt32("team", &teamID) != B_OK) {
|
|| event->FindInt32("team", &teamID) != B_OK) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user