Skip to content

Commit

Permalink
Remove two unused variables declarations, and add a missing #include.
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent Monin committed Apr 3, 2008
1 parent ae6a05c commit 7c014bc
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/exif-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include "gqview.h"
#include "exif.h"

#include "filelist.h"
#include "format_raw.h"
#include "ui_fileops.h"

Expand All @@ -45,14 +46,6 @@ ExifFormattedText ExifFormattedList[] = {
{ NULL, NULL }
};

static ExifTextList ExifFlashList[] = {
{ 0, N_("no") },
{ 1, N_("yes") },
{ 5, N_("yes, not detected by strobe") },
{ 7, N_("yes, detected by strobe") },
EXIF_TEXT_LIST_END
};

double exif_rational_to_double(ExifRational *r, gint sign)
{
if (!r || r->den == 0.0) return 0.0;
Expand Down Expand Up @@ -154,8 +147,6 @@ gchar *exif_get_formatted_by_key(ExifData *exif, const gchar *key, gint *key_val

if (make)
{
gchar *x;

g_strstrip(make);
#define REMOVE_SUFFIX(str,suff) \
do { \
Expand Down

0 comments on commit 7c014bc

Please sign in to comment.