From: Jean-Baptiste Mardelle Date: Mon, 23 Jul 2012 09:02:41 +0000 (+0200) Subject: definitions.h: initialize ItemInfo [Coverity 12/14] by Mikko Rapeli X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=9d55f9b8a1af973e09bf0ff7ab249df4d42e7bb6;p=kdenlive definitions.h: initialize ItemInfo [Coverity 12/14] by Mikko Rapeli --- diff --git a/src/definitions.h b/src/definitions.h index 1e039456..a48306e6 100644 --- a/src/definitions.h +++ b/src/definitions.h @@ -83,7 +83,8 @@ struct TrackInfo { typedef QMap stringMap; typedef QMap > audioByteArray; -struct ItemInfo { +class ItemInfo { +public: /** startPos is the position where the clip starts on the track */ GenTime startPos; /** endPos is the duration where the clip ends on the track */ @@ -93,6 +94,7 @@ struct ItemInfo { /** cropDuration is the duration of the clip */ GenTime cropDuration; int track; + ItemInfo() : track(0) {}; }; struct TransitionInfo {