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:
parent
6dcce65687
commit
8ade1bf7a6
@ -150,7 +150,7 @@ NW80xCamDevice::ReadReg(uint16 address, uint8 *data, size_t count, bool cached)
|
||||
status_t
|
||||
NW80xCamDevice::GetStatusIIC()
|
||||
{
|
||||
status_t err;
|
||||
status_t err = B_ERROR;
|
||||
uint8 status = 0;
|
||||
#warning WRITEME
|
||||
//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
|
||||
QuickCamDevice::GetStatusIIC()
|
||||
{
|
||||
status_t err;
|
||||
status_t err = B_ERROR;
|
||||
uint8 status = 0;
|
||||
#warning WRITEME
|
||||
//dprintf(ID "i2c_status: error 0x%08lx, status = %02x\n", err, status);
|
||||
|
Loading…
Reference in New Issue
Block a user