2024-03-24 06:50 ftp://ftp.de.debian.org/debian/pool/main/libc/libcroco/libcroco_0.6.12.orig.tar.xz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=valueFlowBailoutIncompleteVar -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-0.deb11.6-amd64-x86_64-with-glibc2.31 python: 3.9.2 client-version: 1.3.45 compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110 cppcheck: head 2.13.0 head-info: 5ea8330 (2024-03-23 20:55:32 +0100) count: 172 162 elapsed-time: 2.9 0.8 head-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 2.50044s (avg. 2.50044s - 1 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 2.17573s (avg. 0.725242s - 3 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.222118s (avg. 0.0740393s - 3 result(s)) valueFlowLifetime(tokenlist, errorLogger, settings): 0.05265s (avg. 0.0131625s - 4 result(s)) valueFlowUninit(tokenlist, errorLogger, settings): 0.025246s (avg. 0.00841533s - 3 result(s)) Overall time: 2.55993s old-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 0.519615s (avg. 0.519615s - 1 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.195139s (avg. 0.0650463s - 3 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.18259s (avg. 0.0608633s - 3 result(s)) valueFlowLifetime(tokenlist, errorLogger, settings): 0.122677s (avg. 0.0306692s - 4 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 0.017467s (avg. 0.017467s - 1 result(s)) Overall time: 0.576643s head results: libcroco-0.6.12/docs/examples/cssom-example-1.c:60:3: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libcroco-0.6.12/docs/examples/cssom-example-1.c:66:3: note: Found duplicate branches for 'if' and 'else'. libcroco-0.6.12/docs/examples/cssom-example-1.c:60:3: note: Found duplicate branches for 'if' and 'else'. libcroco-0.6.12/docs/examples/cssom-example-1.c:26:22: style: Parameter 'prg_name' can be declared as pointer to const [constParameterPointer] libcroco-0.6.12/docs/examples/sac-example-1.c:38:34: style: Parameter 'a_handler' can be declared as pointer to const. However it seems that 'start_selector_cb' is a callback function, if 'a_handler' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/docs/examples/sac-example-1.c:167:32: note: You might need to cast the function pointer here libcroco-0.6.12/docs/examples/sac-example-1.c:38:34: note: Parameter 'a_handler' can be declared as pointer to const libcroco-0.6.12/docs/examples/sac-example-1.c:39:18: style: Parameter 'a_selector' can be declared as pointer to const. However it seems that 'start_selector_cb' is a callback function, if 'a_selector' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/docs/examples/sac-example-1.c:167:32: note: You might need to cast the function pointer here libcroco-0.6.12/docs/examples/sac-example-1.c:39:18: note: Parameter 'a_selector' can be declared as pointer to const libcroco-0.6.12/docs/examples/sac-example-1.c:50:32: style: Parameter 'a_handler' can be declared as pointer to const. However it seems that 'end_selector_cb' is a callback function, if 'a_handler' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/docs/examples/sac-example-1.c:173:30: note: You might need to cast the function pointer here libcroco-0.6.12/docs/examples/sac-example-1.c:50:32: note: Parameter 'a_handler' can be declared as pointer to const libcroco-0.6.12/docs/examples/sac-example-1.c:51:16: style: Parameter 'a_selector' can be declared as pointer to const. However it seems that 'end_selector_cb' is a callback function, if 'a_selector' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/docs/examples/sac-example-1.c:173:30: note: You might need to cast the function pointer here libcroco-0.6.12/docs/examples/sac-example-1.c:51:16: note: Parameter 'a_selector' can be declared as pointer to const libcroco-0.6.12/docs/examples/sac-example-1.c:64:17: style: Variable 'prog_name' can be declared as pointer to const [constVariablePointer] libcroco-0.6.12/docs/examples/sac-example-2.c:199:17: style: Variable 'prog_name' can be declared as pointer to const [constVariablePointer] libcroco-0.6.12/src/cr-attr-sel.c:232:17: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] libcroco-0.6.12/src/cr-enc-handler.c:115:17: style: Variable 'alias_name_up' can be declared as pointer to const [constVariablePointer] libcroco-0.6.12/src/cr-declaration.c:240:24: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/src/cr-declaration.c:234:32: note: status is assigned libcroco-0.6.12/src/cr-declaration.c:240:24: note: status is overwritten libcroco-0.6.12/src/cr-declaration.c:702:49: style:inconclusive: Function 'cr_declaration_get_by_prop_name' argument 2 names different: declaration 'a_str' definition 'a_prop'. [funcArgNamesDifferent] libcroco-0.6.12/src/cr-declaration.h:116:22: note: Function 'cr_declaration_get_by_prop_name' argument 2 names different: declaration 'a_str' definition 'a_prop'. libcroco-0.6.12/src/cr-declaration.c:702:49: note: Function 'cr_declaration_get_by_prop_name' argument 2 names different: declaration 'a_str' definition 'a_prop'. libcroco-0.6.12/src/cr-num.c:248:38: style: Condition 'status==CR_OK' is always true [knownConditionTrueFalse] libcroco-0.6.12/src/cr-num.c:247:30: note: Calling function 'cr_num_copy' returns 0 libcroco-0.6.12/src/cr-num.c:247:30: note: Assignment 'status=cr_num_copy(result,a_this)', assigned value is 0 libcroco-0.6.12/src/cr-num.c:248:38: note: Condition 'status==CR_OK' is always true libcroco-0.6.12/csslint/csslint.c:459:13: style: Condition 'context' is always false [knownConditionTrueFalse] libcroco-0.6.12/csslint/csslint.c:454:38: note: Assignment 'context=NULL', assigned value is 0 libcroco-0.6.12/csslint/csslint.c:459:13: note: Condition 'context' is always false libcroco-0.6.12/csslint/csslint.c:823:13: style: Condition 'context' is always false [knownConditionTrueFalse] libcroco-0.6.12/csslint/csslint.c:816:38: note: Assignment 'context=NULL', assigned value is 0 libcroco-0.6.12/csslint/csslint.c:823:13: note: Condition 'context' is always false libcroco-0.6.12/csslint/csslint.c:854:13: style: Condition 'context' is always false [knownConditionTrueFalse] libcroco-0.6.12/csslint/csslint.c:849:38: note: Assignment 'context=NULL', assigned value is 0 libcroco-0.6.12/csslint/csslint.c:854:13: note: Condition 'context' is always false libcroco-0.6.12/csslint/csslint.c:270:18: style: Variable 'prev_pair' can be declared as pointer to const [constVariablePointer] libcroco-0.6.12/csslint/csslint.c:616:30: style: Parameter 'a_this' can be declared as pointer to const. However it seems that 'end_font_face' is a callback function, if 'a_this' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/csslint/csslint.c:950:38: note: You might need to cast the function pointer here libcroco-0.6.12/csslint/csslint.c:616:30: note: Parameter 'a_this' can be declared as pointer to const libcroco-0.6.12/csslint/csslint.c:679:26: style: Parameter 'a_this' can be declared as pointer to const. However it seems that 'end_media' is a callback function, if 'a_this' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/csslint/csslint.c:952:34: note: You might need to cast the function pointer here libcroco-0.6.12/csslint/csslint.c:679:26: note: Parameter 'a_this' can be declared as pointer to const libcroco-0.6.12/csslint/csslint.c:680:19: style: Parameter 'a_media_list' can be declared as pointer to const. However it seems that 'end_media' is a callback function, if 'a_media_list' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/csslint/csslint.c:952:34: note: You might need to cast the function pointer here libcroco-0.6.12/csslint/csslint.c:680:19: note: Parameter 'a_media_list' can be declared as pointer to const libcroco-0.6.12/csslint/csslint.c:746:25: style: Parameter 'a_this' can be declared as pointer to const. However it seems that 'end_page' is a callback function, if 'a_this' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/csslint/csslint.c:954:33: note: You might need to cast the function pointer here libcroco-0.6.12/csslint/csslint.c:746:25: note: Parameter 'a_this' can be declared as pointer to const libcroco-0.6.12/csslint/csslint.c:747:21: style: Parameter 'a_name' can be declared as pointer to const. However it seems that 'end_page' is a callback function, if 'a_name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/csslint/csslint.c:954:33: note: You might need to cast the function pointer here libcroco-0.6.12/csslint/csslint.c:747:21: note: Parameter 'a_name' can be declared as pointer to const libcroco-0.6.12/csslint/csslint.c:748:21: style: Parameter 'pseudo_page' can be declared as pointer to const. However it seems that 'end_page' is a callback function, if 'pseudo_page' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/csslint/csslint.c:954:33: note: You might need to cast the function pointer here libcroco-0.6.12/csslint/csslint.c:748:21: note: Parameter 'pseudo_page' can be declared as pointer to const libcroco-0.6.12/src/cr-prop-list.c:136:57: style:inconclusive: Function 'cr_prop_list_prepend' argument 2 names different: declaration 'a_to_append' definition 'a_to_prepend'. [funcArgNamesDifferent] libcroco-0.6.12/src/cr-prop-list.h:47:20: note: Function 'cr_prop_list_prepend' argument 2 names different: declaration 'a_to_append' definition 'a_to_prepend'. libcroco-0.6.12/src/cr-prop-list.c:136:57: note: Function 'cr_prop_list_prepend' argument 2 names different: declaration 'a_to_append' definition 'a_to_prepend'. libcroco-0.6.12/src/cr-prop-list.c:165:35: style:inconclusive: Function 'cr_prop_list_prepend2' argument 2 names different: declaration 'a_prop' definition 'a_prop_name'. [funcArgNamesDifferent] libcroco-0.6.12/src/cr-prop-list.h:50:20: note: Function 'cr_prop_list_prepend2' argument 2 names different: declaration 'a_prop' definition 'a_prop_name'. libcroco-0.6.12/src/cr-prop-list.c:165:35: note: Function 'cr_prop_list_prepend2' argument 2 names different: declaration 'a_prop' definition 'a_prop_name'. libcroco-0.6.12/src/cr-om-parser.c:416:9: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] libcroco-0.6.12/src/cr-om-parser.c:417:9: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] libcroco-0.6.12/src/cr-om-parser.c:485:9: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] libcroco-0.6.12/src/cr-om-parser.c:553:9: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] libcroco-0.6.12/src/cr-om-parser.c:633:9: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] libcroco-0.6.12/src/cr-om-parser.c:1140:17: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] libcroco-0.6.12/src/cr-om-parser.c:340:24: style:inconclusive: Function 'start_page' argument 3 names different: declaration 'a_pseudo_page' definition 'a_pseudo'. [funcArgNamesDifferent] libcroco-0.6.12/src/cr-om-parser.c:82:36: note: Function 'start_page' argument 3 names different: declaration 'a_pseudo_page' definition 'a_pseudo'. libcroco-0.6.12/src/cr-om-parser.c:340:24: note: Function 'start_page' argument 3 names different: declaration 'a_pseudo_page' definition 'a_pseudo'. libcroco-0.6.12/src/cr-om-parser.c:302:44: style: Parameter 'a_charset' can be declared as pointer to const. However it seems that 'charset' is a callback function, if 'a_charset' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/src/cr-om-parser.c:173:32: note: You might need to cast the function pointer here libcroco-0.6.12/src/cr-om-parser.c:302:44: note: Parameter 'a_charset' can be declared as pointer to const libcroco-0.6.12/src/cr-om-parser.c:339:24: style: Parameter 'a_page' can be declared as pointer to const. However it seems that 'start_page' is a callback function, if 'a_page' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/src/cr-om-parser.c:174:35: note: You might need to cast the function pointer here libcroco-0.6.12/src/cr-om-parser.c:339:24: note: Parameter 'a_page' can be declared as pointer to const libcroco-0.6.12/src/cr-om-parser.c:340:24: style: Parameter 'a_pseudo' can be declared as pointer to const. However it seems that 'start_page' is a callback function, if 'a_pseudo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/src/cr-om-parser.c:174:35: note: You might need to cast the function pointer here libcroco-0.6.12/src/cr-om-parser.c:340:24: note: Parameter 'a_pseudo' can be declared as pointer to const libcroco-0.6.12/src/cr-om-parser.c:422:22: style: Parameter 'a_media_list' can be declared as pointer to const. However it seems that 'start_media' is a callback function, if 'a_media_list' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/src/cr-om-parser.c:176:36: note: You might need to cast the function pointer here libcroco-0.6.12/src/cr-om-parser.c:422:22: note: Parameter 'a_media_list' can be declared as pointer to const libcroco-0.6.12/src/cr-om-parser.c:490:23: style: Parameter 'a_media_list' can be declared as pointer to const. However it seems that 'import_style' is a callback function, if 'a_media_list' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/src/cr-om-parser.c:178:37: note: You might need to cast the function pointer here libcroco-0.6.12/src/cr-om-parser.c:490:23: note: Parameter 'a_media_list' can be declared as pointer to const libcroco-0.6.12/src/cr-om-parser.c:491:26: style: Parameter 'a_uri' can be declared as pointer to const. However it seems that 'import_style' is a callback function, if 'a_uri' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/src/cr-om-parser.c:178:37: note: You might need to cast the function pointer here libcroco-0.6.12/src/cr-om-parser.c:491:26: note: Parameter 'a_uri' can be declared as pointer to const libcroco-0.6.12/src/cr-om-parser.c:638:22: style: Parameter 'a_name' can be declared as pointer to const. However it seems that 'property' is a callback function, if 'a_name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/src/cr-om-parser.c:168:33: note: You might need to cast the function pointer here libcroco-0.6.12/src/cr-om-parser.c:638:22: note: Parameter 'a_name' can be declared as pointer to const libcroco-0.6.12/src/cr-om-parser.c:1038:30: style: Variable 'status' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/src/cr-selector.c:39:32: style:inconclusive: Function 'cr_selector_new' argument 1 names different: declaration 'a_sel_expr' definition 'a_simple_sel'. [funcArgNamesDifferent] libcroco-0.6.12/src/cr-selector.h:71:43: note: Function 'cr_selector_new' argument 1 names different: declaration 'a_sel_expr' definition 'a_simple_sel'. libcroco-0.6.12/src/cr-selector.c:39:32: note: Function 'cr_selector_new' argument 1 names different: declaration 'a_sel_expr' definition 'a_simple_sel'. libcroco-0.6.12/src/cr-sel-eng.c:1547:21: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] libcroco-0.6.12/src/cr-sel-eng.c:1533:13: note: outer condition: props libcroco-0.6.12/src/cr-sel-eng.c:1547:21: note: identical inner condition: props libcroco-0.6.12/src/cr-sel-eng.c:725:44: style: Condition 'status!=CR_OK' is always false [knownConditionTrueFalse] libcroco-0.6.12/src/cr-sel-eng.c:722:41: note: Calling function 'sel_matches_node_real' returns 0 libcroco-0.6.12/src/cr-sel-eng.c:722:41: note: Assignment 'status=sel_matches_node_real(a_this,cur_sel->prev,n,&matches,FALSE,TRUE)', assigned value is 0 libcroco-0.6.12/src/cr-sel-eng.c:725:44: note: Condition 'status!=CR_OK' is always false libcroco-0.6.12/src/cr-sel-eng.c:917:36: style: Condition 'status==CR_OK' is always true [knownConditionTrueFalse] libcroco-0.6.12/src/cr-sel-eng.c:914:33: note: Calling function 'cr_sel_eng_matches_node' returns 0 libcroco-0.6.12/src/cr-sel-eng.c:914:33: note: Assignment 'status=cr_sel_eng_matches_node(a_this,cur_sel->simple_sel,a_node,&matches)', assigned value is 0 libcroco-0.6.12/src/cr-sel-eng.c:917:36: note: Condition 'status==CR_OK' is always true libcroco-0.6.12/src/cr-sel-eng.c:122:31: style: Same expression on both sides of '&&'. [duplicateExpression] libcroco-0.6.12/src/cr-sel-eng.c:163:31: style: Same expression on both sides of '&&'. [duplicateExpression] libcroco-0.6.12/src/cr-sel-eng.c:634:31: style: Same expression 'a_this' found multiple times in chain of '&&' operators. [duplicateExpression] libcroco-0.6.12/src/cr-sel-eng.c:1316:31: style: Same expression 'a_this' found multiple times in chain of '&&' operators. [duplicateExpression] libcroco-0.6.12/src/cr-sel-eng.c:767:17: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] libcroco-0.6.12/src/cr-sel-eng.c:966:72: style:inconclusive: Function 'put_css_properties_in_props_list' argument 2 names different: declaration 'a_ruleset' definition 'a_stmt'. [funcArgNamesDifferent] libcroco-0.6.12/src/cr-sel-eng.c:85:56: note: Function 'put_css_properties_in_props_list' argument 2 names different: declaration 'a_ruleset' definition 'a_stmt'. libcroco-0.6.12/src/cr-sel-eng.c:966:72: note: Function 'put_css_properties_in_props_list' argument 2 names different: declaration 'a_ruleset' definition 'a_stmt'. libcroco-0.6.12/src/cr-sel-eng.c:1165:56: style:inconclusive: Function 'cr_sel_eng_register_pseudo_class_sel_handler' argument 2 names different: declaration 'a_pseudo_class_sel_name' definition 'a_name'. [funcArgNamesDifferent] libcroco-0.6.12/src/cr-sel-eng.h:66:69: note: Function 'cr_sel_eng_register_pseudo_class_sel_handler' argument 2 names different: declaration 'a_pseudo_class_sel_name' definition 'a_name'. libcroco-0.6.12/src/cr-sel-eng.c:1165:56: note: Function 'cr_sel_eng_register_pseudo_class_sel_handler' argument 2 names different: declaration 'a_pseudo_class_sel_name' definition 'a_name'. libcroco-0.6.12/src/cr-sel-eng.c:1166:65: style:inconclusive: Function 'cr_sel_eng_register_pseudo_class_sel_handler' argument 3 names different: declaration 'a_pseudo_class_type' definition 'a_type'. [funcArgNamesDifferent] libcroco-0.6.12/src/cr-sel-eng.h:67:79: note: Function 'cr_sel_eng_register_pseudo_class_sel_handler' argument 3 names different: declaration 'a_pseudo_class_type' definition 'a_type'. libcroco-0.6.12/src/cr-sel-eng.c:1166:65: note: Function 'cr_sel_eng_register_pseudo_class_sel_handler' argument 3 names different: declaration 'a_pseudo_class_type' definition 'a_type'. libcroco-0.6.12/src/cr-sel-eng.c:1196:58: style:inconclusive: Function 'cr_sel_eng_unregister_pseudo_class_sel_handler' argument 2 names different: declaration 'a_pseudo_class_sel_name' definition 'a_name'. [funcArgNamesDifferent] libcroco-0.6.12/src/cr-sel-eng.h:71:71: note: Function 'cr_sel_eng_unregister_pseudo_class_sel_handler' argument 2 names different: declaration 'a_pseudo_class_sel_name' definition 'a_name'. libcroco-0.6.12/src/cr-sel-eng.c:1196:58: note: Function 'cr_sel_eng_unregister_pseudo_class_sel_handler' argument 2 names different: declaration 'a_pseudo_class_sel_name' definition 'a_name'. libcroco-0.6.12/src/cr-sel-eng.c:1197:67: style:inconclusive: Function 'cr_sel_eng_unregister_pseudo_class_sel_handler' argument 3 names different: declaration 'a_pseudo_class_type' definition 'a_type'. [funcArgNamesDifferent] libcroco-0.6.12/src/cr-sel-eng.h:72:81: note: Function 'cr_sel_eng_unregister_pseudo_class_sel_handler' argument 3 names different: declaration 'a_pseudo_class_type' definition 'a_type'. libcroco-0.6.12/src/cr-sel-eng.c:1197:67: note: Function 'cr_sel_eng_unregister_pseudo_class_sel_handler' argument 3 names different: declaration 'a_pseudo_class_type' definition 'a_type'. libcroco-0.6.12/src/cr-sel-eng.c:1267:56: style:inconclusive: Function 'cr_sel_eng_get_pseudo_class_selector_handler' argument 2 names different: declaration 'a_pseudo_class_sel_name' definition 'a_name'. [funcArgNamesDifferent] libcroco-0.6.12/src/cr-sel-eng.h:77:69: note: Function 'cr_sel_eng_get_pseudo_class_selector_handler' argument 2 names different: declaration 'a_pseudo_class_sel_name' definition 'a_name'. libcroco-0.6.12/src/cr-sel-eng.c:1267:56: note: Function 'cr_sel_eng_get_pseudo_class_selector_handler' argument 2 names different: declaration 'a_pseudo_class_sel_name' definition 'a_name'. libcroco-0.6.12/src/cr-sel-eng.c:1268:65: style:inconclusive: Function 'cr_sel_eng_get_pseudo_class_selector_handler' argument 3 names different: declaration 'a_pseudo_class_type' definition 'a_type'. [funcArgNamesDifferent] libcroco-0.6.12/src/cr-sel-eng.h:78:79: note: Function 'cr_sel_eng_get_pseudo_class_selector_handler' argument 3 names different: declaration 'a_pseudo_class_type' definition 'a_type'. libcroco-0.6.12/src/cr-sel-eng.c:1268:65: note: Function 'cr_sel_eng_get_pseudo_class_selector_handler' argument 3 names different: declaration 'a_pseudo_class_type' definition 'a_type'. libcroco-0.6.12/src/cr-rgb.c:501:57: style:inconclusive: Function 'cr_rgb_set_from_hex_str' argument 2 names different: declaration 'a_hex_value' definition 'a_hex'. [funcArgNamesDifferent] libcroco-0.6.12/src/cr-rgb.h:80:70: note: Function 'cr_rgb_set_from_hex_str' argument 2 names different: declaration 'a_hex_value' definition 'a_hex'. libcroco-0.6.12/src/cr-rgb.c:501:57: note: Function 'cr_rgb_set_from_hex_str' argument 2 names different: declaration 'a_hex_value' definition 'a_hex'. libcroco-0.6.12/src/cr-sel-eng.c:159:18: style: Variable 'node' can be declared as pointer to const [constVariablePointer] libcroco-0.6.12/src/cr-sel-eng.c:363:42: style: Variable 'ptr2' can be declared as pointer to const [constVariablePointer] libcroco-0.6.12/src/cr-sel-eng.c:426:42: style: Variable 'ptr2' can be declared as pointer to const [constVariablePointer] libcroco-0.6.12/src/cr-sel-eng.c:1196:58: style: Parameter 'a_name' can be declared as pointer to const [constParameterPointer] libcroco-0.6.12/src/cr-rgb.c:504:18: style: Variable 'i' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/src/cr-rgb.c:674:9: style: Variable 'status' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/src/cr-sel-eng.c:411:46: style: Variable 'ptr1' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/src/cr-statement.c:333:34: style: Condition 'status==CR_OK' is always true [knownConditionTrueFalse] libcroco-0.6.12/src/cr-statement.c:332:51: note: Calling function 'cr_statement_ruleset_append_decl' returns 0 libcroco-0.6.12/src/cr-statement.c:332:51: note: Assignment 'status=cr_statement_ruleset_append_decl(stmt,decl)', assigned value is 0 libcroco-0.6.12/src/cr-statement.c:333:34: note: Condition 'status==CR_OK' is always true libcroco-0.6.12/src/cr-statement.c:440:34: style: Condition 'status==CR_OK' is always true [knownConditionTrueFalse] libcroco-0.6.12/src/cr-statement.c:439:51: note: Calling function 'cr_statement_ruleset_append_decl' returns 0 libcroco-0.6.12/src/cr-statement.c:439:51: note: Assignment 'status=cr_statement_ruleset_append_decl(ruleset,decl)', assigned value is 0 libcroco-0.6.12/src/cr-statement.c:440:34: note: Condition 'status==CR_OK' is always true libcroco-0.6.12/src/cr-statement.c:626:18: warning: Either the condition 'stringue' is redundant or there is possible null pointer dereference: stringue. [nullPointerRedundantCheck] libcroco-0.6.12/src/cr-statement.c:628:13: note: Assuming that condition 'stringue' is not redundant libcroco-0.6.12/src/cr-statement.c:626:18: note: Null pointer dereference libcroco-0.6.12/src/cr-statement.c:1633:20: style: The comparison 'status != CR_OK' is always false because 'status' and 'CR_OK' represent the same value. [knownConditionTrueFalse] libcroco-0.6.12/src/cr-statement.c:1617:32: note: 'status' is assigned value 'CR_OK' here. libcroco-0.6.12/src/cr-statement.c:1633:20: note: The comparison 'status != CR_OK' is always false because 'status' and 'CR_OK' represent the same value. libcroco-0.6.12/src/cr-statement.c:1122:41: style:inconclusive: Function 'cr_statement_new_ruleset' argument 4 names different: declaration 'a_media_rule' definition 'a_parent_media_rule'. [funcArgNamesDifferent] libcroco-0.6.12/src/cr-statement.h:246:19: note: Function 'cr_statement_new_ruleset' argument 4 names different: declaration 'a_media_rule' definition 'a_parent_media_rule'. libcroco-0.6.12/src/cr-statement.c:1122:41: note: Function 'cr_statement_new_ruleset' argument 4 names different: declaration 'a_media_rule' definition 'a_parent_media_rule'. libcroco-0.6.12/src/cr-statement.c:1263:47: style:inconclusive: Function 'cr_statement_new_at_media_rule' argument 2 names different: declaration 'a_ruleset' definition 'a_rulesets'. [funcArgNamesDifferent] libcroco-0.6.12/src/cr-statement.h:263:46: note: Function 'cr_statement_new_at_media_rule' argument 2 names different: declaration 'a_ruleset' definition 'a_rulesets'. libcroco-0.6.12/src/cr-statement.c:1263:47: note: Function 'cr_statement_new_at_media_rule' argument 2 names different: declaration 'a_ruleset' definition 'a_rulesets'. libcroco-0.6.12/src/cr-statement.c:139:38: style: Parameter 'a_name' can be declared as pointer to const. However it seems that 'parse_page_start_page_cb' is a callback function, if 'a_name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/src/cr-statement.c:1522:35: note: You might need to cast the function pointer here libcroco-0.6.12/src/cr-statement.c:139:38: note: Parameter 'a_name' can be declared as pointer to const libcroco-0.6.12/src/cr-statement.c:140:38: style: Parameter 'a_pseudo_page' can be declared as pointer to const. However it seems that 'parse_page_start_page_cb' is a callback function, if 'a_pseudo_page' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/src/cr-statement.c:1522:35: note: You might need to cast the function pointer here libcroco-0.6.12/src/cr-statement.c:140:38: note: Parameter 'a_pseudo_page' can be declared as pointer to const libcroco-0.6.12/src/cr-statement.c:186:40: style: Parameter 'a_this' can be declared as pointer to const. However it seems that 'parse_page_property_cb' is a callback function, if 'a_this' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/src/cr-statement.c:1523:33: note: You might need to cast the function pointer here libcroco-0.6.12/src/cr-statement.c:186:40: note: Parameter 'a_this' can be declared as pointer to const libcroco-0.6.12/src/cr-statement.c:187:36: style: Parameter 'a_name' can be declared as pointer to const. However it seems that 'parse_page_property_cb' is a callback function, if 'a_name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/src/cr-statement.c:1523:33: note: You might need to cast the function pointer here libcroco-0.6.12/src/cr-statement.c:187:36: note: Parameter 'a_name' can be declared as pointer to const libcroco-0.6.12/src/cr-statement.c:231:40: style: Parameter 'a_media_list' can be declared as pointer to const. However it seems that 'parse_at_media_start_media_cb' is a callback function, if 'a_media_list' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/src/cr-statement.c:1209:36: note: You might need to cast the function pointer here libcroco-0.6.12/src/cr-statement.c:231:40: note: Parameter 'a_media_list' can be declared as pointer to const libcroco-0.6.12/src/cr-statement.c:2063:53: style: Parameter 'a_list' can be declared as pointer to const [constParameterPointer] libcroco-0.6.12/src/cr-statement.c:376:16: style: Variable 'status' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/src/cr-statement.c:1540:16: style: Variable 'status' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/src/cr-term.c:294:42: style: Condition 'cur->content.str==NULL' is always true [knownConditionTrueFalse] libcroco-0.6.12/src/cr-term.c:292:39: note: Assuming that condition 'cur->content.str==NULL' is not redundant libcroco-0.6.12/src/cr-term.c:294:42: note: Condition 'cur->content.str==NULL' is always true libcroco-0.6.12/src/cr-term.c:488:37: style: Condition 'a_this->content.str==NULL' is always true [knownConditionTrueFalse] libcroco-0.6.12/src/cr-term.c:486:34: note: Assuming that condition 'a_this->content.str==NULL' is not redundant libcroco-0.6.12/src/cr-term.c:488:37: note: Condition 'a_this->content.str==NULL' is always true libcroco-0.6.12/src/cr-term.c:294:21: style: Same expression 'cur->content.str==NULL' found multiple times in chain of '&&' operators. [duplicateExpression] libcroco-0.6.12/src/cr-term.c:488:13: style: Same expression 'a_this->content.str==NULL' found multiple times in chain of '&&' operators. [duplicateExpression] libcroco-0.6.12/src/cr-term.c:775:27: style:inconclusive: Function 'cr_term_destroy' argument 1 names different: declaration 'a_term' definition 'a_this'. [funcArgNamesDifferent] libcroco-0.6.12/src/cr-term.h:186:32: note: Function 'cr_term_destroy' argument 1 names different: declaration 'a_term' definition 'a_this'. libcroco-0.6.12/src/cr-term.c:775:27: note: Function 'cr_term_destroy' argument 1 names different: declaration 'a_term' definition 'a_this'. libcroco-0.6.12/src/cr-utils.c:858:38: style: Condition 'status==CR_OK' is always true [knownConditionTrueFalse] libcroco-0.6.12/src/cr-utils.c:854:48: note: Calling function 'cr_utils_ucs4_str_len_as_utf8' returns 0 libcroco-0.6.12/src/cr-utils.c:854:48: note: Assignment 'status=cr_utils_ucs4_str_len_as_utf8(a_in,&a_in[*a_out_len-1],a_out_len)', assigned value is 0 libcroco-0.6.12/src/cr-utils.c:858:38: note: Condition 'status==CR_OK' is always true libcroco-0.6.12/src/cr-utils.c:960:38: style: Condition 'status==CR_OK' is always true [knownConditionTrueFalse] libcroco-0.6.12/src/cr-utils.c:957:48: note: Calling function 'cr_utils_ucs1_str_len_as_utf8' returns 0 libcroco-0.6.12/src/cr-utils.c:957:48: note: Assignment 'status=cr_utils_ucs1_str_len_as_utf8(a_in,&a_in[*a_in_len-1],&out_len)', assigned value is 0 libcroco-0.6.12/src/cr-utils.c:960:38: note: Condition 'status==CR_OK' is always true libcroco-0.6.12/src/cr-utils.c:817:33: style: Variable 'a_out[out_index+4]' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/src/cr-utils.c:815:33: note: a_out[out_index+4] is assigned libcroco-0.6.12/src/cr-utils.c:817:33: note: a_out[out_index+4] is overwritten libcroco-0.6.12/src/cr-utils.c:442:45: style: Same expression on both sides of '&&'. [duplicateExpression] libcroco-0.6.12/src/cr-utils.c:941:43: style:inconclusive: Function 'cr_utils_ucs1_str_to_utf8' argument 1 names different: declaration 'a_in_start' definition 'a_in'. [funcArgNamesDifferent] libcroco-0.6.12/src/cr-utils.h:180:42: note: Function 'cr_utils_ucs1_str_to_utf8' argument 1 names different: declaration 'a_in_start' definition 'a_in'. libcroco-0.6.12/src/cr-utils.c:941:43: note: Function 'cr_utils_ucs1_str_to_utf8' argument 1 names different: declaration 'a_in_start' definition 'a_in'. libcroco-0.6.12/src/cr-utils.c:943:54: style:inconclusive: Function 'cr_utils_ucs1_str_to_utf8' argument 4 names different: declaration 'a_len' definition 'a_out_len'. [funcArgNamesDifferent] libcroco-0.6.12/src/cr-utils.h:183:36: note: Function 'cr_utils_ucs1_str_to_utf8' argument 4 names different: declaration 'a_len' definition 'a_out_len'. libcroco-0.6.12/src/cr-utils.c:943:54: note: Function 'cr_utils_ucs1_str_to_utf8' argument 4 names different: declaration 'a_len' definition 'a_out_len'. libcroco-0.6.12/src/cr-utils.c:1141:43: style:inconclusive: Function 'cr_utils_utf8_str_to_ucs1' argument 1 names different: declaration 'a_in_start' definition 'a_in'. [funcArgNamesDifferent] libcroco-0.6.12/src/cr-utils.h:186:43: note: Function 'cr_utils_utf8_str_to_ucs1' argument 1 names different: declaration 'a_in_start' definition 'a_in'. libcroco-0.6.12/src/cr-utils.c:1141:43: note: Function 'cr_utils_utf8_str_to_ucs1' argument 1 names different: declaration 'a_in_start' definition 'a_in'. libcroco-0.6.12/src/cr-utils.c:1288:45: style:inconclusive: Function 'cr_utils_dup_glist_of_string' argument 1 names different: declaration 'a_list' definition 'a_list_of_strings'. [funcArgNamesDifferent] libcroco-0.6.12/src/cr-utils.h:239:44: note: Function 'cr_utils_dup_glist_of_string' argument 1 names different: declaration 'a_list' definition 'a_list_of_strings'. libcroco-0.6.12/src/cr-utils.c:1288:45: note: Function 'cr_utils_dup_glist_of_string' argument 1 names different: declaration 'a_list' definition 'a_list_of_strings'. libcroco-0.6.12/tests/test0-main.c:144:17: style: Variable 'c' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/src/cr-tknzr.c:1167:17: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/src/cr-tknzr.c:1164:24: note: status is assigned libcroco-0.6.12/src/cr-tknzr.c:1167:17: note: status is overwritten libcroco-0.6.12/src/cr-tknzr.c:1202:17: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/src/cr-tknzr.c:1186:40: note: status is assigned libcroco-0.6.12/src/cr-tknzr.c:1202:17: note: status is overwritten libcroco-0.6.12/src/cr-tknzr.c:1202:17: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/src/cr-tknzr.c:1196:48: note: status is assigned libcroco-0.6.12/src/cr-tknzr.c:1202:17: note: status is overwritten libcroco-0.6.12/src/cr-tknzr.c:2396:41: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/src/cr-tknzr.c:2393:48: note: status is assigned libcroco-0.6.12/src/cr-tknzr.c:2396:41: note: status is overwritten libcroco-0.6.12/src/cr-tknzr.c:2403:41: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/src/cr-tknzr.c:2400:48: note: status is assigned libcroco-0.6.12/src/cr-tknzr.c:2403:41: note: status is overwritten libcroco-0.6.12/src/cr-tknzr.c:2410:41: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/src/cr-tknzr.c:2407:48: note: status is assigned libcroco-0.6.12/src/cr-tknzr.c:2410:41: note: status is overwritten libcroco-0.6.12/src/cr-tknzr.c:2417:41: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/src/cr-tknzr.c:2414:48: note: status is assigned libcroco-0.6.12/src/cr-tknzr.c:2417:41: note: status is overwritten libcroco-0.6.12/src/cr-tknzr.c:2424:41: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/src/cr-tknzr.c:2421:48: note: status is assigned libcroco-0.6.12/src/cr-tknzr.c:2424:41: note: status is overwritten libcroco-0.6.12/src/cr-tknzr.c:2431:41: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/src/cr-tknzr.c:2428:48: note: status is assigned libcroco-0.6.12/src/cr-tknzr.c:2431:41: note: status is overwritten libcroco-0.6.12/src/cr-tknzr.c:2438:41: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/src/cr-tknzr.c:2435:48: note: status is assigned libcroco-0.6.12/src/cr-tknzr.c:2438:41: note: status is overwritten libcroco-0.6.12/src/cr-tknzr.c:2445:41: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/src/cr-tknzr.c:2442:48: note: status is assigned libcroco-0.6.12/src/cr-tknzr.c:2445:41: note: status is overwritten libcroco-0.6.12/src/cr-tknzr.c:2453:41: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/src/cr-tknzr.c:2450:48: note: status is assigned libcroco-0.6.12/src/cr-tknzr.c:2453:41: note: status is overwritten libcroco-0.6.12/src/cr-tknzr.c:2461:41: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/src/cr-tknzr.c:2458:48: note: status is assigned libcroco-0.6.12/src/cr-tknzr.c:2461:41: note: status is overwritten libcroco-0.6.12/src/cr-tknzr.c:2470:41: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/src/cr-tknzr.c:2467:48: note: status is assigned libcroco-0.6.12/src/cr-tknzr.c:2470:41: note: status is overwritten libcroco-0.6.12/src/cr-tknzr.c:2477:41: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/src/cr-tknzr.c:2474:48: note: status is assigned libcroco-0.6.12/src/cr-tknzr.c:2477:41: note: status is overwritten libcroco-0.6.12/src/cr-tknzr.c:2483:41: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/src/cr-tknzr.c:2480:48: note: status is assigned libcroco-0.6.12/src/cr-tknzr.c:2483:41: note: status is overwritten libcroco-0.6.12/src/cr-tknzr.c:2490:41: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/src/cr-tknzr.c:2487:48: note: status is assigned libcroco-0.6.12/src/cr-tknzr.c:2490:41: note: status is overwritten libcroco-0.6.12/src/cr-tknzr.c:2498:41: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/src/cr-tknzr.c:2495:48: note: status is assigned libcroco-0.6.12/src/cr-tknzr.c:2498:41: note: status is overwritten libcroco-0.6.12/src/cr-tknzr.c:2504:41: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/src/cr-tknzr.c:2501:48: note: status is assigned libcroco-0.6.12/src/cr-tknzr.c:2504:41: note: status is overwritten libcroco-0.6.12/tests/test2-main.c:157:9: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] libcroco-0.6.12/src/cr-tknzr.c:1923:54: style: Parameter 'a_pos' can be declared as pointer to const [constParameterPointer] libcroco-0.6.12/tests/test2-main.c:333:29: style: Condition 'medium' is always true [knownConditionTrueFalse] libcroco-0.6.12/tests/test2-main.c:364:29: style: Condition 'medium' is always true [knownConditionTrueFalse] libcroco-0.6.12/tests/test2-main.c:53:21: style: Parameter 'prg_name' can be declared as pointer to const [constParameterPointer] libcroco-0.6.12/tests/test2-main.c:70:22: style: Parameter 'prg_name' can be declared as pointer to const [constParameterPointer] libcroco-0.6.12/tests/test2-main.c:452:16: style: Variable 'name' can be declared as pointer to const [constVariablePointer] libcroco-0.6.12/src/cr-tknzr.c:302:32: style: Variable 'status' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/src/cr-tknzr.c:363:24: style: Variable 'status' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/src/cr-tknzr.c:373:24: style: Variable 'status' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/src/cr-tknzr.c:830:24: style: Variable 'status' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/src/cr-tknzr.c:897:24: style: Variable 'status' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/src/cr-tknzr.c:964:33: style: Variable 'location_is_set' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/src/cr-tknzr.c:1204:32: style: Variable 'status' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/tests/test3-main.c:148:9: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] libcroco-0.6.12/tests/test3-main.c:317:29: style: Condition 'medium' is always true [knownConditionTrueFalse] libcroco-0.6.12/tests/test3-main.c:346:29: style: Condition 'medium' is always true [knownConditionTrueFalse] libcroco-0.6.12/tests/test3-main.c:503:16: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/tests/test3-main.c:502:16: note: status is assigned libcroco-0.6.12/tests/test3-main.c:503:16: note: status is overwritten libcroco-0.6.12/tests/test3-main.c:49:21: style: Parameter 'prg_name' can be declared as pointer to const [constParameterPointer] libcroco-0.6.12/tests/test3-main.c:67:22: style: Parameter 'prg_name' can be declared as pointer to const [constParameterPointer] libcroco-0.6.12/tests/test3-main.c:432:16: style: Variable 'name' can be declared as pointer to const [constVariablePointer] libcroco-0.6.12/tests/test4-main.c:211:13: style: Condition 'decl' is always true [knownConditionTrueFalse] libcroco-0.6.12/tests/test5-main.c:172:20: warning: Either the condition 'xml_doc' is redundant or there is possible null pointer dereference: xml_doc. [nullPointerRedundantCheck] libcroco-0.6.12/tests/test5-main.c:182:13: note: Assuming that condition 'xml_doc' is not redundant libcroco-0.6.12/tests/test5-main.c:172:20: note: Null pointer dereference libcroco-0.6.12/tests/test5-main.c:104:23: style: Redundant initialization for 'cur_node'. The initialized value is overwritten before it is read. [redundantInitialization] libcroco-0.6.12/tests/test5-main.c:102:27: note: cur_node is initialized libcroco-0.6.12/tests/test5-main.c:104:23: note: cur_node is overwritten libcroco-0.6.12/tests/test5-main.c:99:19: style: Variable 'i' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/tests/test5-main.c:100:30: style: Variable 'status' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/src/cr-parser.c:4524:17: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] libcroco-0.6.12/src/cr-parser.c:1805:29: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] libcroco-0.6.12/src/cr-parser.c:1799:28: note: outer condition: token libcroco-0.6.12/src/cr-parser.c:1805:29: note: identical inner condition: token libcroco-0.6.12/src/cr-parser.c:2764:38: style: Condition 'status==CR_OK' is always true [knownConditionTrueFalse] libcroco-0.6.12/src/cr-parser.c:2754:32: note: Assignment 'status=CR_OK', assigned value is 0 libcroco-0.6.12/src/cr-parser.c:2764:38: note: Condition 'status==CR_OK' is always true libcroco-0.6.12/src/cr-parser.c:2921:20: style: Condition 'status!=CR_OK' is always false [knownConditionTrueFalse] libcroco-0.6.12/src/cr-parser.c:2919:44: note: Calling function 'cr_parser_set_sac_handler' returns 0 libcroco-0.6.12/src/cr-parser.c:2919:44: note: Assignment 'status=cr_parser_set_sac_handler(a_this,default_sac_handler)', assigned value is 0 libcroco-0.6.12/src/cr-parser.c:2921:20: note: Condition 'status!=CR_OK' is always false libcroco-0.6.12/src/cr-parser.c:2991:38: style: Condition 'status==CR_OK' is always true [knownConditionTrueFalse] libcroco-0.6.12/src/cr-parser.c:2990:38: note: Calling function 'cr_parser_set_tknzr' returns 0 libcroco-0.6.12/src/cr-parser.c:2990:38: note: Assignment 'status=cr_parser_set_tknzr(a_this,tknzr)', assigned value is 0 libcroco-0.6.12/src/cr-parser.c:2991:38: note: Condition 'status==CR_OK' is always true libcroco-0.6.12/src/cr-parser.c:4482:38: style: Condition 'status==CR_OK' is always true [knownConditionTrueFalse] libcroco-0.6.12/src/cr-parser.c:4481:38: note: Calling function 'cr_parser_set_tknzr' returns 0 libcroco-0.6.12/src/cr-parser.c:4481:38: note: Assignment 'status=cr_parser_set_tknzr(a_this,tknzr)', assigned value is 0 libcroco-0.6.12/src/cr-parser.c:4482:38: note: Condition 'status==CR_OK' is always true libcroco-0.6.12/src/cr-parser.c:1549:13: warning: Either the condition 'token' is redundant or there is possible null pointer dereference: token. [nullPointerRedundantCheck] libcroco-0.6.12/src/cr-parser.c:1561:20: note: Assuming that condition 'token' is not redundant libcroco-0.6.12/src/cr-parser.c:1549:13: note: Null pointer dereference libcroco-0.6.12/src/cr-parser.c:864:16: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/src/cr-parser.c:856:16: note: status is assigned libcroco-0.6.12/src/cr-parser.c:864:16: note: status is overwritten libcroco-0.6.12/src/cr-parser.c:1112:24: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/src/cr-parser.c:1109:24: note: status is assigned libcroco-0.6.12/src/cr-parser.c:1112:24: note: status is overwritten libcroco-0.6.12/src/cr-parser.c:1126:24: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/src/cr-parser.c:1123:24: note: status is assigned libcroco-0.6.12/src/cr-parser.c:1126:24: note: status is overwritten libcroco-0.6.12/src/cr-parser.c:1565:24: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libcroco-0.6.12/src/cr-parser.c:1562:24: note: status is assigned libcroco-0.6.12/src/cr-parser.c:1565:24: note: status is overwritten libcroco-0.6.12/src/cr-parser.c:1205:24: style: Variable 'status' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/src/cr-parser.c:1249:24: style: Variable 'status' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/src/cr-parser.c:1277:24: style: Variable 'status' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/src/cr-parser.c:1975:30: style: Variable 'comb' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/src/cr-parser.c:2054:48: style: Variable 'status' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/src/cr-parser.c:3466:32: style: Variable 'start_selector' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/src/cr-style.c:560:34: style: Condition 'a_value->type!=TERM_NUMBER' is always true [knownConditionTrueFalse] libcroco-0.6.12/src/cr-style.c:1424:54: style: Condition 'status==CR_OK' is always true [knownConditionTrueFalse] libcroco-0.6.12/src/cr-style.c:1423:61: note: Calling function 'init_style_font_size_field' returns 0 libcroco-0.6.12/src/cr-style.c:1423:61: note: Assignment 'status=init_style_font_size_field(a_style)', assigned value is 0 libcroco-0.6.12/src/cr-style.c:1424:54: note: Condition 'status==CR_OK' is always true libcroco-0.6.12/src/cr-style.c:1437:54: style: Condition 'status==CR_OK' is always true [knownConditionTrueFalse] libcroco-0.6.12/src/cr-style.c:1436:61: note: Calling function 'init_style_font_size_field' returns 0 libcroco-0.6.12/src/cr-style.c:1436:61: note: Assignment 'status=init_style_font_size_field(a_style)', assigned value is 0 libcroco-0.6.12/src/cr-style.c:1437:54: note: Condition 'status==CR_OK' is always true libcroco-0.6.12/src/cr-style.c:1449:54: style: Condition 'status==CR_OK' is always true [knownConditionTrueFalse] libcroco-0.6.12/src/cr-style.c:1448:61: note: Calling function 'init_style_font_size_field' returns 0 libcroco-0.6.12/src/cr-style.c:1448:61: note: Assignment 'status=init_style_font_size_field(a_style)', assigned value is 0 libcroco-0.6.12/src/cr-style.c:1449:54: note: Condition 'status==CR_OK' is always true libcroco-0.6.12/src/cr-style.c:1460:54: style: Condition 'status==CR_OK' is always true [knownConditionTrueFalse] libcroco-0.6.12/src/cr-style.c:1459:61: note: Calling function 'init_style_font_size_field' returns 0 libcroco-0.6.12/src/cr-style.c:1459:61: note: Assignment 'status=init_style_font_size_field(a_style)', assigned value is 0 libcroco-0.6.12/src/cr-style.c:1460:54: note: Condition 'status==CR_OK' is always true libcroco-0.6.12/src/cr-style.c:1472:54: style: Condition 'status==CR_OK' is always true [knownConditionTrueFalse] libcroco-0.6.12/src/cr-style.c:1471:61: note: Calling function 'init_style_font_size_field' returns 0 libcroco-0.6.12/src/cr-style.c:1471:61: note: Assignment 'status=init_style_font_size_field(a_style)', assigned value is 0 libcroco-0.6.12/src/cr-style.c:1472:54: note: Condition 'status==CR_OK' is always true libcroco-0.6.12/src/cr-style.c:1484:54: style: Condition 'status==CR_OK' is always true [knownConditionTrueFalse] libcroco-0.6.12/src/cr-style.c:1483:61: note: Calling function 'init_style_font_size_field' returns 0 libcroco-0.6.12/src/cr-style.c:1483:61: note: Assignment 'status=init_style_font_size_field(a_style)', assigned value is 0 libcroco-0.6.12/src/cr-style.c:1484:54: note: Condition 'status==CR_OK' is always true libcroco-0.6.12/src/cr-style.c:1496:54: style: Condition 'status==CR_OK' is always true [knownConditionTrueFalse] libcroco-0.6.12/src/cr-style.c:1495:61: note: Calling function 'init_style_font_size_field' returns 0 libcroco-0.6.12/src/cr-style.c:1495:61: note: Assignment 'status=init_style_font_size_field(a_style)', assigned value is 0 libcroco-0.6.12/src/cr-style.c:1496:54: note: Condition 'status==CR_OK' is always true libcroco-0.6.12/src/cr-style.c:1508:54: style: Condition 'status==CR_OK' is always true [knownConditionTrueFalse] libcroco-0.6.12/src/cr-style.c:1507:61: note: Calling function 'init_style_font_size_field' returns 0 libcroco-0.6.12/src/cr-style.c:1507:61: note: Assignment 'status=init_style_font_size_field(a_style)', assigned value is 0 libcroco-0.6.12/src/cr-style.c:1508:54: note: Condition 'status==CR_OK' is always true libcroco-0.6.12/src/cr-style.c:1518:54: style: Condition 'status==CR_OK' is always true [knownConditionTrueFalse] libcroco-0.6.12/src/cr-style.c:1517:61: note: Calling function 'init_style_font_size_field' returns 0 libcroco-0.6.12/src/cr-style.c:1517:61: note: Assignment 'status=init_style_font_size_field(a_style)', assigned value is 0 libcroco-0.6.12/src/cr-style.c:1518:54: note: Condition 'status==CR_OK' is always true libcroco-0.6.12/src/cr-style.c:1528:54: style: Condition 'status==CR_OK' is always true [knownConditionTrueFalse] libcroco-0.6.12/src/cr-style.c:1527:61: note: Calling function 'init_style_font_size_field' returns 0 libcroco-0.6.12/src/cr-style.c:1527:61: note: Assignment 'status=init_style_font_size_field(a_style)', assigned value is 0 libcroco-0.6.12/src/cr-style.c:1528:54: note: Condition 'status==CR_OK' is always true libcroco-0.6.12/src/cr-style.c:1541:54: style: Condition 'status==CR_OK' is always true [knownConditionTrueFalse] libcroco-0.6.12/src/cr-style.c:1540:61: note: Calling function 'init_style_font_size_field' returns 0 libcroco-0.6.12/src/cr-style.c:1540:61: note: Assignment 'status=init_style_font_size_field(a_style)', assigned value is 0 libcroco-0.6.12/src/cr-style.c:1541:54: note: Condition 'status==CR_OK' is always true libcroco-0.6.12/src/cr-style.c:2020:31: style: Same expression on both sides of '&&'. [duplicateExpression] libcroco-0.6.12/src/cr-style.c:471:11: style: Variable 'status' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/src/cr-style.c:1144:30: style: Variable 'status' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/src/cr-style.c:1159:32: style: Variable 'status' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/src/cr-style.c:1533:32: style: Variable 'status' is assigned a value that is never used. [unreadVariable] libcroco-0.6.12/src/cr-style.c:1550:24: style: Variable 'status' is assigned a value that is never used. [unreadVariable] diff: head libcroco-0.6.12/csslint/csslint.c:616:30: style: Parameter 'a_this' can be declared as pointer to const. However it seems that 'end_font_face' is a callback function, if 'a_this' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/csslint/csslint.c:950:38: note: You might need to cast the function pointer here libcroco-0.6.12/csslint/csslint.c:616:30: note: Parameter 'a_this' can be declared as pointer to const head libcroco-0.6.12/csslint/csslint.c:679:26: style: Parameter 'a_this' can be declared as pointer to const. However it seems that 'end_media' is a callback function, if 'a_this' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/csslint/csslint.c:952:34: note: You might need to cast the function pointer here libcroco-0.6.12/csslint/csslint.c:679:26: note: Parameter 'a_this' can be declared as pointer to const head libcroco-0.6.12/csslint/csslint.c:680:19: style: Parameter 'a_media_list' can be declared as pointer to const. However it seems that 'end_media' is a callback function, if 'a_media_list' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/csslint/csslint.c:952:34: note: You might need to cast the function pointer here libcroco-0.6.12/csslint/csslint.c:680:19: note: Parameter 'a_media_list' can be declared as pointer to const head libcroco-0.6.12/csslint/csslint.c:746:25: style: Parameter 'a_this' can be declared as pointer to const. However it seems that 'end_page' is a callback function, if 'a_this' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/csslint/csslint.c:954:33: note: You might need to cast the function pointer here libcroco-0.6.12/csslint/csslint.c:746:25: note: Parameter 'a_this' can be declared as pointer to const head libcroco-0.6.12/csslint/csslint.c:747:21: style: Parameter 'a_name' can be declared as pointer to const. However it seems that 'end_page' is a callback function, if 'a_name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/csslint/csslint.c:954:33: note: You might need to cast the function pointer here libcroco-0.6.12/csslint/csslint.c:747:21: note: Parameter 'a_name' can be declared as pointer to const head libcroco-0.6.12/csslint/csslint.c:748:21: style: Parameter 'pseudo_page' can be declared as pointer to const. However it seems that 'end_page' is a callback function, if 'pseudo_page' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/csslint/csslint.c:954:33: note: You might need to cast the function pointer here libcroco-0.6.12/csslint/csslint.c:748:21: note: Parameter 'pseudo_page' can be declared as pointer to const head libcroco-0.6.12/docs/examples/sac-example-1.c:38:34: style: Parameter 'a_handler' can be declared as pointer to const. However it seems that 'start_selector_cb' is a callback function, if 'a_handler' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/docs/examples/sac-example-1.c:167:32: note: You might need to cast the function pointer here libcroco-0.6.12/docs/examples/sac-example-1.c:38:34: note: Parameter 'a_handler' can be declared as pointer to const head libcroco-0.6.12/docs/examples/sac-example-1.c:39:18: style: Parameter 'a_selector' can be declared as pointer to const. However it seems that 'start_selector_cb' is a callback function, if 'a_selector' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/docs/examples/sac-example-1.c:167:32: note: You might need to cast the function pointer here libcroco-0.6.12/docs/examples/sac-example-1.c:39:18: note: Parameter 'a_selector' can be declared as pointer to const head libcroco-0.6.12/docs/examples/sac-example-1.c:50:32: style: Parameter 'a_handler' can be declared as pointer to const. However it seems that 'end_selector_cb' is a callback function, if 'a_handler' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/docs/examples/sac-example-1.c:173:30: note: You might need to cast the function pointer here libcroco-0.6.12/docs/examples/sac-example-1.c:50:32: note: Parameter 'a_handler' can be declared as pointer to const head libcroco-0.6.12/docs/examples/sac-example-1.c:51:16: style: Parameter 'a_selector' can be declared as pointer to const. However it seems that 'end_selector_cb' is a callback function, if 'a_selector' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libcroco-0.6.12/docs/examples/sac-example-1.c:173:30: note: You might need to cast the function pointer here libcroco-0.6.12/docs/examples/sac-example-1.c:51:16: note: Parameter 'a_selector' can be declared as pointer to const DONE