projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0142966
)
Move variable declaration and affectation near where it is used.
author
Laurent Monin
<geeqie@norz.org>
Fri, 2 May 2008 09:03:52 +0000
(09:03 +0000)
committer
Laurent Monin
<geeqie@norz.org>
Fri, 2 May 2008 09:03:52 +0000
(09:03 +0000)
src/exif-common.c
patch
|
blob
|
history
diff --git
a/src/exif-common.c
b/src/exif-common.c
index
612ddcc
..
621ba87
100644
(file)
--- a/
src/exif-common.c
+++ b/
src/exif-common.c
@@
-503,15
+503,15
@@
gchar *exif_get_data_as_text(ExifData *exif, const gchar *key)
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;