Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
json-c
json-c-0.12-unused_variable_size.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File json-c-0.12-unused_variable_size.patch of Package json-c
Author: Petar Koretić <petar.koretic@gmail.com> Date: Fri Apr 11 10:03:40 2014 +0200 Subject: Remove unused variable 'size' Upstream: committed References: https://github.com/json-c/json-c/commit/259c5c0b5fe87c2db41e7a989cc0ab5865170d81#diff-1a2844909ac019b51939d6a7d97c7cd0 Remove unused variable 'size' [ 31s] json_tokener.c: In function 'json_tokener_parse_ex': [ 31s] json_tokener.c:355:6: error: variable 'size' set but not used [-Werror=unused-but-set-variable] [ 31s] int size; [ 31s] ^ --- json_tokener.c | 2 -- 1 file changed, 2 deletions(-) Index: json-c-0.12/json_tokener.c =================================================================== --- json-c-0.12.orig/json_tokener.c 2014-04-11 01:41:08.000000000 +0100 +++ json-c-0.12/json_tokener.c 2014-09-20 12:33:05.000000000 +0100 @@ -352,12 +352,10 @@ struct json_object* json_tokener_parse_e case json_tokener_state_inf: /* aka starts with 'i' */ { - int size; int size_inf; int is_negative = 0; printbuf_memappend_fast(tok->pb, &c, 1); - size = json_min(tok->st_pos+1, json_null_str_len); size_inf = json_min(tok->st_pos+1, json_inf_str_len); char *infbuf = tok->pb->buf; if (*infbuf == '-')
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