From bb823bcf15719658c27431ca093d58001ffbeafd Mon Sep 17 00:00:00 2001 From: "Hombrenatureh.510" Date: Mon, 24 Mar 2014 21:53:26 +0100 Subject: [PATCH] Supressing an annoying warning, repeated numerous times. (no issue) --- rtexif/rtexif.cc | 4 ---- rtexif/rtexif.h | 4 +++- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/rtexif/rtexif.cc b/rtexif/rtexif.cc index 707e83d99..10373fd35 100644 --- a/rtexif/rtexif.cc +++ b/rtexif/rtexif.cc @@ -2272,10 +2272,6 @@ short int int2_to_signed (short unsigned int i) { return u.s; } -int getTypeSize( TagType type ){ - return ("11124811248484"[type<14?type:0]-'0'); -} - /* Function to parse and extract focal length and aperture information from description * @fullname must conform to the following formats * mm f/ diff --git a/rtexif/rtexif.h b/rtexif/rtexif.h index eb48acdb8..7604e7d79 100644 --- a/rtexif/rtexif.h +++ b/rtexif/rtexif.h @@ -431,7 +431,9 @@ protected: } }; -inline static int getTypeSize( TagType type ); +inline static int getTypeSize( TagType type ) { + return ("11124811248484"[type<14?type:0]-'0'); +} extern const TagAttrib exifAttribs[]; extern const TagAttrib gpsAttribs[];