Cppcheck 2.13.0 /home/joels/Current/lispbm/src/extensions/display_extensions.c:23:0: information: Include file: "sys/types.h" not found. [missingInclude] #include "sys/types.h" ^ /home/joels/Current/lispbm/src/extensions/display_extensions.c:1320:47: style: Condition 'end_is_past0!=0' is always true [knownConditionTrueFalse] && (start_is_past0 != 0 || end_is_past0 != 0); ^ /home/joels/Current/lispbm/src/extensions/display_extensions.c:1322:47: style: Condition 'end_is_past1!=0' is always true [knownConditionTrueFalse] && (start_is_past1 != 0 || end_is_past1 != 0); ^ /home/joels/Current/lispbm/src/extensions/display_extensions.c:1458:45: style: Condition 'end_is_past!=0' is always true [knownConditionTrueFalse] && (start_is_past != 0 || end_is_past != 0); ^ /home/joels/Current/lispbm/src/extensions/schrift.c:392:37: style: The scope of the variable 'length' can be reduced. [variableScope] unsigned int numTables, numPairs, length, format, flags; ^ /home/joels/Current/lispbm/src/extensions/schrift.c:392:45: style: The scope of the variable 'format' can be reduced. [variableScope] unsigned int numTables, numPairs, length, format, flags; ^ /home/joels/Current/lispbm/src/extensions/schrift.c:392:53: style: The scope of the variable 'flags' can be reduced. [variableScope] unsigned int numTables, numPairs, length, format, flags; ^ /home/joels/Current/lispbm/src/extensions/schrift.c:561:9: style: The scope of the variable 'pt' can be reduced. [variableScope] Point pt; ^ /home/joels/Current/lispbm/src/extensions/schrift.c:575:9: style: The scope of the variable 'pt' can be reduced. [variableScope] Point pt; ^ /home/joels/Current/lispbm/src/extensions/schrift.c:695:33: style: The scope of the variable 'sample' can be reduced. [variableScope] const uint8_t *bytes = base, *sample; ^ /home/joels/Current/lispbm/src/extensions/schrift.c:696:37: style: The scope of the variable 'mid' can be reduced. [variableScope] size_t low = 0, high = nmemb - 1, mid; ^ /home/joels/Current/lispbm/src/extensions/schrift.c:956:31: style: The scope of the variable 'boundary' can be reduced. [variableScope] uint_fast32_t hmtx, offset, boundary; ^ /home/joels/Current/lispbm/src/extensions/schrift.c:1117:47: style: The scope of the variable 'cur' can be reduced. [variableScope] uint_least16_t looseEnd, beg, ctrl, center, cur; ^ /home/joels/Current/lispbm/src/extensions/schrift.c:1278:23: style: The scope of the variable 'glyph' can be reduced. [variableScope] unsigned int flags, glyph, basePoint; ^ /home/joels/Current/lispbm/src/extensions/schrift.c:559:60: style: Parameter 'trf' can be declared as const array [constParameter] transform_points(unsigned int numPts, Point *points, float trf[6]) ^ /home/joels/Current/lispbm/src/extensions/schrift.c:762:31: style: Parameter 'tag' can be declared as const array [constParameter] gettable(SFT_Font *font, char tag[4], uint_fast32_t *offset) ^ /home/joels/Current/lispbm/src/extensions/schrift.c:783:11: style: Variable 'key' can be declared as const array [constVariable] uint8_t key[2] = { (uint8_t) (charCode >> 8), (uint8_t) charCode }; ^ /home/joels/Current/lispbm/src/extensions/schrift.c:123:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] uint32_t c = 0; ^ /home/joels/Current/lispbm/src/extensions/ttf_extensions.c:314:11: style: The scope of the variable 'y_scale' can be reduced. [variableScope] float y_scale = x_scale; ^ /home/joels/Current/lispbm/src/extensions/ttf_extensions.c:645:11: style: The scope of the variable 'y_n' can be reduced. [variableScope] float y_n = y; ^ nofile:0:0: information: Active checkers: 106/592 (use --checkers-report= to see details) [checkersReport]