[Libreoffice-commits] core.git: extensions/source
Julien Nabet
serval2412 at yahoo.fr
Sat Feb 1 13:14:19 PST 2014
extensions/source/scanner/sane.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 896899b843d15aeb20a14ac11129b5989f3d7821
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Feb 1 22:13:48 2014 +0100
cppcheck: redundant assignment
Change-Id: I62fbbe97c24deb45d8a79463e463a6783201ba98
diff --git a/extensions/source/scanner/sane.cxx b/extensions/source/scanner/sane.cxx
index 9ad0011..96b7716 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
More information about the Libreoffice-commits
mailing list