From: <svn...@op...> - 2010-05-31 23:51:29
|
Author: cdfrey Date: Tue Jun 1 01:51:19 2010 New Revision: 6046 URL: http://www.opensync.org/changeset/6046 Log: Removed unused variables (compiler warnings) Modified: format-plugins/xmlformat/trunk/src/xmlformat_merge.c format-plugins/xmlformat/trunk/tests/check_merger.c Modified: format-plugins/xmlformat/trunk/src/xmlformat_merge.c ============================================================================== --- format-plugins/xmlformat/trunk/src/xmlformat_merge.c Sun Apr 18 10:49:40 2010 (r6045) +++ format-plugins/xmlformat/trunk/src/xmlformat_merge.c Tue Jun 1 01:51:19 2010 (r6046) @@ -219,9 +219,9 @@ /* check the secound level here */ if(osync_capability_get_childs(cur_capability)) /* if there is no key - it means that the xmlfield can handle all keys */ { - int i, j=0; + int j=0; int capability_keys = osync_list_length(osync_capability_get_childs(cur_capability)); - int xmlfield_keys = osync_xmlfield_get_key_count(cur_xmlfield); + //int xmlfield_keys = osync_xmlfield_get_key_count(cur_xmlfield); OSyncXMLField *child_xmlfield = osync_xmlfield_get_child(cur_xmlfield); Modified: format-plugins/xmlformat/trunk/tests/check_merger.c ============================================================================== --- format-plugins/xmlformat/trunk/tests/check_merger.c Sun Apr 18 10:49:40 2010 (r6045) +++ format-plugins/xmlformat/trunk/tests/check_merger.c Tue Jun 1 01:51:19 2010 (r6046) @@ -108,7 +108,7 @@ OSyncCapabilitiesObjType *capsobjtype = osync_capabilities_get_objtype(capabilities, "contact"); OSyncList *caplist = osync_capabilities_objtype_get_caps(capsobjtype); for (; caplist; caplist = caplist->next) { - OSyncCapability *cap_cur = (OSyncCapability *) caplist->data; + //OSyncCapability *cap_cur = (OSyncCapability *) caplist->data; //printf("Capability: %s\n", osync_capability_get_name(cap_cur)); } |