else
{
uint8_t r, g, b;
- if (sscanf (color, "rgb (%"SCNu8", %"SCNu8", %"SCNu8" )",
+ if (sscanf (color, "rgb (%"SCNu8", %"SCNu8", %"SCNu8")",
&r, &g, &b) == 3)
{
char color2[8];
Do the same for U+2007 FIGURE SPACE, which also crops out weirdly
sometimes. */
ds_extend (s, ds_length (s) + xmlStrlen (node->content));
- for (const uint8_t *p = node->content; *p; )
+ for (const uint8_t *p = node->content; *p;)
{
int c;
if (p[0] == 0xc2 && p[1] == 0xa0)
struct spvbin_input input;
spvbin_input_init (&input, data, size);
- struct spvlb_table *table;
+ struct spvlb_table *table = NULL;
error = (!size
? xasprintf ("light table member is empty")
: !spvlb_parse_table (&input, &table)
{
const struct spvxml_node *node = seq[i];
- char *error;
+ char *error = NULL;
if (spvsx_is_container (node))
{
const struct spvsx_container *container