Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Update
tog-pegasus
pegasus-2.14.1-fix-compiler-warnings.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pegasus-2.14.1-fix-compiler-warnings.patch of Package tog-pegasus
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-pegasus/src/Pegasus/Common/CIMResponseData.cpp ./src/Pegasus/Common/CIMResponseData.cpp --- ../orig-pegasus/src/Pegasus/Common/CIMResponseData.cpp 2014-08-28 01:10:08.000000000 +0200 +++ ./src/Pegasus/Common/CIMResponseData.cpp 2015-05-20 08:51:42.152553238 +0200 @@ -150,6 +150,7 @@ } PEGASUS_ASSERT(false); + return _instances; } // Objects handling diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-pegasus/src/Pegasus/Common/tests/ResponseData/ResponseData.cpp ./src/Pegasus/Common/tests/ResponseData/ResponseData.cpp --- ../orig-pegasus/src/Pegasus/Common/tests/ResponseData/ResponseData.cpp 2014-08-28 01:10:10.000000000 +0200 +++ ./src/Pegasus/Common/tests/ResponseData/ResponseData.cpp 2015-05-20 08:45:36.129351534 +0200 @@ -67,7 +67,8 @@ const Uint32 value) { Uint32 pos; - PEGASUS_ASSERT(pos = instance.findProperty(propertyName) != PEG_NOT_FOUND); + pos = instance.findProperty(propertyName); + PEGASUS_ASSERT(pos != PEG_NOT_FOUND); instance.getProperty(pos).setValue(CIMValue(value)); } diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-pegasus/src/Pegasus/FQL/FQLOperand.cpp ./src/Pegasus/FQL/FQLOperand.cpp --- ../orig-pegasus/src/Pegasus/FQL/FQLOperand.cpp 2014-11-10 22:41:04.000000000 +0100 +++ ./src/Pegasus/FQL/FQLOperand.cpp 2015-05-20 08:52:24.734322024 +0200 @@ -331,6 +331,7 @@ PEGASUS_ASSERT(false); } } + return 0; } // KS_TODO - Simplfy by creating a toStringValue with case for each
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