initialize 'err'. CID 1308 & 1309
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27595 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -150,7 +150,7 @@ NW80xCamDevice::ReadReg(uint16 address, uint8 *data, size_t count, bool cached)
|
|||||||
status_t
|
status_t
|
||||||
NW80xCamDevice::GetStatusIIC()
|
NW80xCamDevice::GetStatusIIC()
|
||||||
{
|
{
|
||||||
status_t err;
|
status_t err = B_ERROR;
|
||||||
uint8 status = 0;
|
uint8 status = 0;
|
||||||
#warning WRITEME
|
#warning WRITEME
|
||||||
//dprintf(ID "i2c_status: error 0x%08lx, status = %02x\n", err, status);
|
//dprintf(ID "i2c_status: error 0x%08lx, status = %02x\n", err, status);
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ QuickCamDevice::ReadReg(uint16 address, uint8 *data, size_t count, bool cached)
|
|||||||
status_t
|
status_t
|
||||||
QuickCamDevice::GetStatusIIC()
|
QuickCamDevice::GetStatusIIC()
|
||||||
{
|
{
|
||||||
status_t err;
|
status_t err = B_ERROR;
|
||||||
uint8 status = 0;
|
uint8 status = 0;
|
||||||
#warning WRITEME
|
#warning WRITEME
|
||||||
//dprintf(ID "i2c_status: error 0x%08lx, status = %02x\n", err, status);
|
//dprintf(ID "i2c_status: error 0x%08lx, status = %02x\n", err, status);
|
||||||
|
|||||||
Reference in New Issue
Block a user