gdouble xres = exif_get_rational_as_double(exif, "Exif.Photo.FocalPlaneXResolution");
gdouble yres = exif_get_rational_as_double(exif, "Exif.Photo.FocalPlaneYResolution");
gint res_unit;
- gint w, h;
- gdouble xsize, ysize, size, ratio;
+ gint w;
+ gint h;
+ gdouble xsize;
+ gdouble ysize;
+ gdouble size;
+ gdouble ratio;
if (xres == 0.0 || yres == 0.0) return 0.0;
if (software)
{
- gint i, j;
+ gint i;
+ gint j;
g_strstrip(software);
static gchar *exif_build_formatted_FocalLength35mmFilm(ExifData *exif)
{
gint n;
- gdouble f, c;
+ gdouble f;
+ gdouble c;
if (exif_get_integer(exif, "Exif.Photo.FocalLengthIn35mmFilm", &n) && n != 0)
{
static gchar *exif_build_formatted_Resolution(ExifData *exif)
{
- ExifRational *rx, *ry;
+ ExifRational *rx;
+ ExifRational *ry;
gchar *units;
gchar *text;
ExifRational *value;
ExifItem *item;
guint i;
- gdouble p, p3;
- gulong p1, p2;
+ gdouble p;
+ gdouble p3;
+ gulong p1;
+ gulong p2;
string = g_string_new("");
static gchar *mode_number(mode_t m)
{
- gint mb, mu, mg, mo;
+ gint mb;
+ gint mu;
+ gint mg;
+ gint mo;
gchar pbuf[12];
mb = mu = mg = mo = 0;