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:
Stefano Ceccherini 2008-09-17 10:05:04 +00:00
parent 6dcce65687
commit 8ade1bf7a6
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);