Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
json-c.25658
fix-set-but-not-used.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-set-but-not-used.patch of Package json-c.25658
diff -Nur json-c-0.12.1/tests/testReplaceExisting.c new/tests/testReplaceExisting.c --- json-c-0.12.1/tests/testReplaceExisting.c 2016-06-07 05:33:58.000000000 +0200 +++ new/tests/testReplaceExisting.c 2016-07-18 20:13:24.101728480 +0200 @@ -24,6 +24,7 @@ int orig_count = 0; json_object_object_foreach(my_object, key0, val0) { + (void) val0; printf("Key at index %d is [%s]", orig_count, key0); if (strcmp(key0, "deleteme") == 0) { @@ -41,6 +42,7 @@ orig_count = 0; json_object_object_foreach(my_object, key, val) { + (void) val; printf("Key at index %d is [%s]\n", orig_count, key); orig_count++; if (strcmp(key, "foo2") != 0) @@ -56,6 +58,7 @@ int retval = 0; json_object_object_foreach(my_object, key2, val2) { + (void) val2; printf("Key at index %d is [%s]\n", new_count, key2); new_count++; if (strcmp(key2, "foo2") != 0)
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