gcut: obey some warnings exposed by clang

parent 5f949cca
......@@ -1859,7 +1859,7 @@ static void update_double_string (const char *new_string, void *user_data)
path_item.point[0].y = val;
gegl_path_insert_node (path, -1, &path_item);
done:
if(0);
if(0) {};
}
else
......@@ -2479,7 +2479,7 @@ static float print_nodes (Mrg *mrg, GeglEDL *edl, GeglNode *node, float x, float
y -= mrg_em (mrg) * 1.15;
}
if ((node == selected_node))
if (node == selected_node)
{
print_props (mrg, edl, node, mrg_em(mrg) * 1.0, mrg_em(mrg) * 1.8);
}
......@@ -2490,7 +2490,7 @@ static float print_nodes (Mrg *mrg, GeglEDL *edl, GeglNode *node, float x, float
mrg_listen (mrg, MRG_CLICK, select_node, node, NULL);
cairo_set_source_rgb (mrg_cr (mrg), 1,1,1);
if ((node == selected_node))
if (node == selected_node)
cairo_set_line_width (mrg_cr (mrg), 3.0);
else
cairo_set_line_width (mrg_cr (mrg), 1.0);
......
......@@ -570,7 +570,7 @@ main (gint argc,
gint max_buf_pos = 0;
for (frame = frame_start; frame <= frame_end; frame++)
{
FrameInfo info = {0};
FrameInfo info = {{0}};
uint8_t buffer[4096] = {0,};
int buffer_pos = 0;
GeglRectangle terrain_row;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment