Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:77
oyranos.openSUSE_12.1
oyranos-remove_unused_calls_in_lraw.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File oyranos-remove_unused_calls_in_lraw.patch of Package oyranos.openSUSE_12.1
--- a/modules/oyranos_cmm_lraw.cpp +++ b/modules/oyranos_cmm_lraw.cpp @@ -152,45 +152,6 @@ int lrawCMMMessageFuncSet ( oyMessage_f message_func ) } -int oyStructList_MoveInName( oyStructList_s * texts, char ** text, int pos ) -{ - int error = !texts || ! text; - oyName_s * name = 0; - oyStruct_s * oy_struct = 0; - if(!error) - { - name = oyName_new(0); - name->name = *text; - *text = 0; - oy_struct = (oyStruct_s*) name; - oyStructList_MoveIn( texts, &oy_struct, pos, 0 ); - } - return error; -} - -int oyStructList_AddName( oyStructList_s * texts, const char * text, int pos ) -{ - int error = !texts; - oyName_s * name = 0; - oyStruct_s * oy_struct = 0; - char * tmp = 0; - if(!error) - { - name = oyName_new(0); - if(!name) return 1; - if(text) - { - tmp = (char*) oyAllocateFunc_( strlen(text) + 1 ); - if(!tmp) return 1; - sprintf( tmp, "%s", text ); - name->name = tmp; - } - oy_struct = (oyStruct_s*) name; - oyStructList_MoveIn( texts, &oy_struct, pos, 0 ); - } - return error; -} - const char * lrawWidget_GetDummy ( const char * func_name,
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