[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 17:43:37 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=4c830f5
The following commit has been merged in the master branch:
commit 4c830f56b2884b06a5b1ffd77ebf418f93cb59fb
Author: Robin Mills <robin at clanmills.com>
Date: Wed Feb 20 05:28:50 2013 +0000
Issue: #883. Fix for Coverity Scan Issue:982065
---
src/crwimage.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/crwimage.cpp b/src/crwimage.cpp
index a641d0f..8d7d59b 100644
--- a/src/crwimage.cpp
+++ b/src/crwimage.cpp
@@ -825,7 +825,7 @@ namespace Exiv2 {
if not found, create it
set value
*/
-
+ AutoPtr m;
CiffComponent* cc = 0;
const Components::iterator b = components_.begin();
const Components::iterator e = components_.end();
@@ -842,7 +842,7 @@ namespace Exiv2 {
}
if (cc == 0) {
// Directory doesn't exist yet, add it
- AutoPtr m(new CiffDirectory(csd.crwDir_, csd.parent_));
+ m = AutoPtr(new CiffDirectory(csd.crwDir_, csd.parent_));
cc = m.get();
add(m);
}
@@ -859,7 +859,7 @@ namespace Exiv2 {
}
if (cc == 0) {
// Tag doesn't exist yet, add it
- AutoPtr m(new CiffEntry(crwTagId, tag()));
+ m = AutoPtr(new CiffEntry(crwTagId, tag()));
cc = m.get();
add(m);
}
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list