Mercurial > geeqie
diff src/thumb.c @ 1365:249bf204004a
When g_new0() is used, drop redundant initializations to NULL, FALSE or 0.
author | zas_ |
---|---|
date | Sun, 01 Mar 2009 21:06:55 +0000 |
parents | c9949c19a6d0 |
children | cf4029d10d38 |
line wrap: on
line diff
--- a/src/thumb.c Sun Mar 01 19:48:38 2009 +0000 +++ b/src/thumb.c Sun Mar 01 21:06:55 2009 +0000 @@ -475,16 +475,11 @@ } tl = g_new0(ThumbLoader, 1); - tl->standard_loader = FALSE; - tl->fd = NULL; + tl->cache_enable = options->thumbnails.enable_caching; - tl->cache_hit = FALSE; tl->percent_done = 0.0; tl->max_w = width; tl->max_h = height; - - tl->il = NULL; - tl->idle_done_id = -1; return tl;