summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extensions/source/scanner/sane.cxx3
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