Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
graphics
twaindsm
fix_compiler_errors.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_compiler_errors.patch of Package twaindsm
--- twaindsm-2.3.1.orig/TWAIN_DSM/src/apps.cpp.orig +++ twaindsm-2.3.1.orig/TWAIN_DSM/src/apps.cpp @@ -1723,9 +1723,7 @@ void CTwnDsmApps::AppWakeup(TW_IDENTITY kLOG((kLOGERR,"We shouldn't be here in AppWakeup...")); // We don't support this path on this platform, use // callbacks instead... - // Make the compiler happy... - void *unused = _pAppId; - unused = 0; + if (_pAppId) {}; #else #error Sorry, we do not recognize this system... #endif --- twaindsm-2.3.1.orig/TWAIN_DSM/src/dsm.cpp.orig +++ twaindsm-2.3.1.orig/TWAIN_DSM/src/dsm.cpp @@ -503,6 +503,7 @@ TW_UINT16 CTwnDsm::DSM_Entry(TW_IDENTITY } // else we fall thru to send the message onto the DS + // fallthrough default: // check if the application is open or not. If it isn't, we have a bad sequence if (dsmState_Open == pod.m_ptwndsmapps->AppGetState(pAppId)) @@ -2577,6 +2578,7 @@ void CTwnDsm::StringFromDat(char *_s { default: SSNPRINTF(_szDat,_nChars,_nChars,"DAT_0x%04x",_DAT); + break; case DAT_NULL: SSTRCPY(_szDat,_nChars,"DAT_NULL");
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor