Snippets for libee 0.4.1 from Nix x86_64-linux
Sourced from https://hydra.nixos.org/log/rbcm8ax3184j2pjmkj5fj0cl5rpa9bqx-libee-0.4.1.drv.
-
cjson/cjson.c:41:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 41 | if (!s1) return (s1==s2)?0:1;if (!s2) return 1; | ^~ -
cjson/cjson.c:462:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 462 | if (fmt) *ptr++='\n';*ptr=0; | ^~ -
cjson/cjson.c:489:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 489 | if (c->prev) c->prev->next=c->next;if (c->next) c->next->prev=c->prev;if (c==array->child) array->child=c->next;c->prev=c->next=0;return c;} | ^~ -
cjson/cjson.c:183:91: warning: this statement may fall through [-Wimplicit-fallthrough=] 183 | case 4: *--ptr2 =((uc | 0x80) & 0xBF); uc >>= 6; | ~~~^~~~~ -
cjson/cjson.c:184:91: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | case 3: *--ptr2 =((uc | 0x80) & 0xBF); uc >>= 6; | ~~~^~~~~ -
cjson/cjson.c:185:91: warning: this statement may fall through [-Wimplicit-fallthrough=] 185 | case 2: *--ptr2 =((uc | 0x80) & 0xBF); uc >>= 6; | ~~~^~~~~ -
value.c:37:20: warning: unused parameter 'ctx' [-Wunused-parameter] 37 | ee_newValue(ee_ctx ctx) | ~~~~~~~^~~ -
field.c:195:16: warning: 'str' may be used uninitialized [-Wmaybe-uninitialized] 195 | return str; | ^~~ -
primitivetype.c:136:14: warning: variable 'OffsetMode' set but not used [-Wunused-but-set-variable] 136 | char OffsetMode; /* UTC offset + or - */ | ^~~~~~~~~~ -
primitivetype.c:135:13: warning: variable 'secfracPrecision' set but not used [-Wunused-but-set-variable] 135 | int secfracPrecision; | ^~~~~~~~~~~~~~~~ -
primitivetype.c:134:13: warning: variable 'secfrac' set but not used [-Wunused-but-set-variable] 134 | int secfrac; /* fractional seconds (must be 32 bit!) */ | ^~~~~~~ -
primitivetype.c:128:13: warning: variable 'year' set but not used [-Wunused-but-set-variable] 128 | int year; | ^~~~ -
primitivetype.c:261:13: warning: variable 'month' set but not used [-Wunused-but-set-variable] 261 | int month; | ^~~~~ -
primitivetype.c:497:19: warning: variable 'n' set but not used [-Wunused-but-set-variable] 497 | long long n; | ^ -
apache_dec.c:37:21: warning: unused parameter 'ctx' [-Wunused-parameter] 37 | ee_newApache(ee_ctx ctx) | ~~~~~~~^~~ -
apache_dec.c:71:25: warning: unused parameter 'ctx' [-Wunused-parameter] 71 | ee_apacheAddName(ee_ctx ctx, struct ee_apache *apache, es_str_t *name) | ~~~~~~~^~~ -
apache_dec.c:205:26: warning: unused variable 'value' [-Wunused-variable] 205 | struct ee_value *value; | ^~~~~ -
../include/libee/internal.h:29:11: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized] 29 | if((r = (x)) != 0) goto done | ^ -
csv_enc.c:66:19: warning: unused parameter 'ctx' [-Wunused-parameter] 66 | ee_AddName(ee_ctx ctx, struct ee_FieldCSV *fields, es_str_t *name) | ~~~~~~~^~~ -
xml_enc.c:60:13: warning: unused variable 'j' [-Wunused-variable] 60 | int j; | ^ -
xml_enc.c:59:14: warning: unused variable 'numbuf' [-Wunused-variable] 59 | char numbuf[4]; | ^~~~~~ -
xml_enc.c:40:13: warning: 'hexdigit' defined but not used [-Wunused-variable] 40 | static char hexdigit[16] = | ^~~~~~~~