diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-02-01 22:13:48 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-02-01 22:13:48 +0100 |
commit | 896899b843d15aeb20a14ac11129b5989f3d7821 (patch) | |
tree | 6572675e4545dc85b69ded8b74f80f42b3eba6c0 /extensions/source | |
parent | ea2c7385fa8470ad3ed038f87989d262243b8ab2 (diff) |
cppcheck: redundant assignment
Change-Id: I62fbbe97c24deb45d8a79463e463a6783201ba98
Diffstat (limited to 'extensions/source')
-rw-r--r-- | extensions/source/scanner/sane.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/source/scanner/sane.cxx b/extensions/source/scanner/sane.cxx index 9ad00111762d..96b7716d9b14 100644 --- a/extensions/source/scanner/sane.cxx +++ b/extensions/source/scanner/sane.cxx @@ -117,10 +117,9 @@ inline oslGenericFunction Sane::LoadSymbol( const char* pSymbolname ) SANE_Status Sane::ControlOption( int nOption, SANE_Action nAction, void* pData ) { - SANE_Status nStatus = SANE_STATUS_GOOD; SANE_Int nInfo = 0; - nStatus = p_control_option( maHandle, (SANE_Int)nOption, + SANE_Status nStatus = p_control_option( maHandle, (SANE_Int)nOption, nAction, pData, &nInfo ); DUMP_STATE( nStatus, "sane_control_option" ); #if OSL_DEBUG_LEVEL > 1 |