[mythtv-firehose] mythtv branch master updated by jyavenard. v0.27-pre2-1550-g06b28fe

Git Repo Owner noreply at mythtv.org
Fri Jun 21 16:16:35 UTC 2013


The branch, master has been updated on the
mythtv repository by gitolite user jyavenard.
       via  06b28fe453fe7cb543e26dccb1cfbf31b6ab7336 (commit)
      from  8c31549b3abe1ed43fe4df87c3e54e74df34af2f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 06b28fe453fe7cb543e26dccb1cfbf31b6ab7336
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Sat, 22 Jun 2013 02:15:53 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Sat, 22 Jun 2013 02:15:53 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=06b28fe453fe7cb543e26dccb1cfbf31b6ab7336

Fix false positive coverity report
C++ standard:
-8- An object whose initializer is an empty set of parentheses, i.e.,
   (), shall be value-initialized.

-5- To value-initialize an object of type T means:
   -- if T is a non-union class type without a user-provided
      constructor, then every non-static data member and base-class
      component of T is value-initialized;93)

   93) Value-initialization for such a class object may be
       implemented by zero-initializing the object and then calling
       the default constructor.

   -- if T is an array type, then each element is value-initialized;

   -- otherwise, the object is zero-initialized

hence, m_fmt is zero initialised by the default constructor.

And regardless, m_fmt would have been set during AVFormatWriter::Init() which is always called.

Coverity-Id: 609723



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmythtv/avformatwriter.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-- 



More information about the mythtv-firehose mailing list