diff --git a/app/text/gimptextlayout.c b/app/text/gimptextlayout.c index d3b27832ab..27c015cb6c 100644 --- a/app/text/gimptextlayout.c +++ b/app/text/gimptextlayout.c @@ -377,8 +377,8 @@ gimp_text_layout_get_transform (GimpTextLayout *layout, cairo_matrix_t *matrix) { GimpText *text; - gdouble xres; - gdouble yres; + gdouble xres = 0; + gdouble yres = 0; gdouble norm; g_return_if_fail (GIMP_IS_TEXT_LAYOUT (layout)); diff --git a/plug-ins/file-bmp/bmp.c b/plug-ins/file-bmp/bmp.c index 19cc323fc0..d40533b364 100644 --- a/plug-ins/file-bmp/bmp.c +++ b/plug-ins/file-bmp/bmp.c @@ -224,7 +224,7 @@ bmp_create_procedure (GimpPlugIn *plug_in, "rgb-555", RGB_555, _("16 bit (X1 R5 G5 B5)"), NULL, "rgb-888", RGB_888, _("24 bit (R8 G8 B8)"), NULL, "rgba-8888", RGBA_8888, _("32 bit (A8 R8 G8 B8)"), NULL, - "rgbx-8888", RGBX_8888, _("32 bit (X8 R8 G8 B8"), NULL, + "rgbx-8888", RGBX_8888, _("32 bit (X8 R8 G8 B8)"), NULL, NULL), "rgb-888", G_PARAM_READWRITE); diff --git a/plug-ins/file-tiff/file-tiff-load.c b/plug-ins/file-tiff/file-tiff-load.c index 5988d2a77b..80155ae012 100644 --- a/plug-ins/file-tiff/file-tiff-load.c +++ b/plug-ins/file-tiff/file-tiff-load.c @@ -1303,10 +1303,10 @@ load_image (GimpProcedure *procedure, /* any resolution info in the file? */ { - gdouble xres = 72.0; - gdouble yres = 72.0; - gushort read_unit; - GimpUnit *unit = gimp_unit_pixel (); /* invalid unit */ + gdouble xres = 72.0; + gdouble yres = 72.0; + gushort read_unit = RESUNIT_NONE; + GimpUnit *unit = gimp_unit_pixel (); /* invalid unit */ if (TIFFGetField (tif, TIFFTAG_XRESOLUTION, &xres)) {