Skip to content

Commit

Permalink
Fix up unused variables warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent Monin committed May 14, 2009
1 parent 93e62de commit 9399908
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/pan-view.c
Original file line number Diff line number Diff line change
Expand Up @@ -1430,13 +1430,16 @@ static gboolean pan_window_key_press_cb(GtkWidget *widget, GdkEventKey *event, g

static void pan_info_add_exif(PanTextAlignment *ta, FileData *fd)
{
GList *work;
gint i;

if (!fd) return;

pan_text_alignment_add(ta, NULL, NULL);
#if 0
{
GList *work;
gint i;


for (i = 0; ExifUIList[i].key; i++)
{
gchar *label;
Expand Down Expand Up @@ -1480,6 +1483,7 @@ static void pan_info_add_exif(PanTextAlignment *ta, FileData *fd)
g_free(text);
}
}
}
#endif
}

Expand Down
1 change: 0 additions & 1 deletion src/view_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,6 @@ static void vf_thumb_done_cb(ThumbLoader *tl, gpointer data)
static gboolean vf_thumb_next(ViewFile *vf)
{
FileData *fd = NULL;
gint ret;

if (!GTK_WIDGET_REALIZED(vf->listview))
{
Expand Down

0 comments on commit 9399908

Please sign in to comment.