# HG changeset patch # User zas_ # Date 1209719032 0 # Node ID bdd86d86c8d30527ada261339cffebc802fd39a5 # Parent 116346636d42d740b99996e69e0b4ca092092c52 Move variable declaration and affectation near where it is used. diff -r 116346636d42 -r bdd86d86c8d3 src/exif-common.c --- a/src/exif-common.c Fri May 02 08:41:32 2008 +0000 +++ b/src/exif-common.c Fri May 02 09:03:52 2008 +0000 @@ -503,15 +503,15 @@ ExifData *exif_read_fd(FileData *fd) { - GList *work; gchar *sidecar_path = NULL; if (!fd) return NULL; - work = fd->parent ? fd->parent->sidecar_files : fd->sidecar_files; - if (filter_file_class(fd->extension, FORMAT_CLASS_RAWIMAGE)) { + GList *work; + + work = fd->parent ? fd->parent->sidecar_files : fd->sidecar_files; while (work) { FileData *sfd = work->data;