Remove unused and uninitialized key 'ThumbImageOffset' from cache
This commit is contained in:
parent
aae360a5aa
commit
43c316f43b
@ -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 ();
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user