static gchar *thumb_loader_std_cache_path(ThumbLoaderStd *tl, gboolean local, GdkPixbuf *pixbuf, gboolean fail)
{
const gchar *folder;
- gint w, h;
+ gint w;
+ gint h;
if (!tl->fd || !tl->thumb_uri) return nullptr;
const gchar *uri;
const gchar *mtime_str;
time_t mtime;
- gint w, h;
+ gint w;
+ gint h;
if (!pixbuf) return FALSE;
const gchar *input_file = nullptr;
guchar *profile = nullptr;
guint profile_len;
- gint sw, sh;
+ gint sw;
+ gint sh;
if (!options->thumbnails.use_color_management)
{
GdkPixbuf *pixbuf_thumb = nullptr;
GdkPixbuf *result;
GdkPixbuf *rotated = nullptr;
- gint sw, sh;
+ gint sw;
+ gint sh;
if (!tl->cache_hit && options->image.exif_rotate_enable)
{
if (!tl->cache_hit)
{
- gint cache_w, cache_h;
+ gint cache_w;
+ gint cache_h;
if (tl->requested_width > THUMB_SIZE_NORMAL || tl->requested_height > THUMB_SIZE_NORMAL)
{
if (sw > cache_w || sh > cache_h || shrunk)
{
- gint thumb_w, thumb_h;
+ gint thumb_w;
+ gint thumb_h;
struct stat st;
if (pixbuf_scale_aspect(cache_w, cache_h, sw, sh,
}
else
{
- gint thumb_w, thumb_h;
+ gint thumb_w;
+ gint thumb_h;
if (pixbuf_thumb)
{