Supressing an annoying warning, repeated numerous times. (no issue)

This commit is contained in:
Hombrenatureh.510
2014-03-24 21:53:26 +01:00
parent fac51a63d8
commit bb823bcf15
2 changed files with 3 additions and 5 deletions

View File

@@ -2272,10 +2272,6 @@ short int int2_to_signed (short unsigned int i) {
return u.s; 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 /* Function to parse and extract focal length and aperture information from description
* @fullname must conform to the following formats * @fullname must conform to the following formats
* <focal>mm f/<aperture> * <focal>mm f/<aperture>

View File

@@ -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 exifAttribs[];
extern const TagAttrib gpsAttribs[]; extern const TagAttrib gpsAttribs[];