Remove unused and uninitialized key 'ThumbImageOffset' from cache

This commit is contained in:
heckflosse 2016-02-26 13:27:43 +01:00
parent aae360a5aa
commit 43c316f43b
2 changed files with 0 additions and 6 deletions

View File

@ -164,10 +164,6 @@ int CacheImageData::load (const Glib::ustring& fname)
if (keyFile.has_key ("ExtraRawInfo", "ThumbImageType")) {
thumbImgType = keyFile.get_integer ("ExtraRawInfo", "ThumbImageType");
}
if (keyFile.has_key ("ExtraRawInfo", "ThumbImageOffset")) {
thumbOffset = keyFile.get_integer ("ExtraRawInfo", "ThumbImageOffset");
}
} else {
rotate = 0;
thumbImgType = 0;
@ -247,7 +243,6 @@ int CacheImageData::save (const Glib::ustring& fname)
if (format == FT_Raw) {
keyFile.set_integer ("ExtraRawInfo", "ThumbImageType", thumbImgType);
keyFile.set_integer ("ExtraRawInfo", "ThumbImageOffset", thumbOffset);
}
keyData = keyFile.to_data ();

View File

@ -65,7 +65,6 @@ public:
// additional info on raw images
int rotate;
int thumbImgType;
int thumbOffset;
enum {
FULL_THUMBNAIL = 0, // was the thumbnail generated from whole file