<div dir="ltr"><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername"></b> <span dir="ltr"><<a href="mailto:scan-admin@coverity.com">scan-admin@coverity.com</a>></span><br>
Date: 2013/6/2<br>Subject: New Defects reported by Coverity Scan for digiKam<br>To: <a href="mailto:caulier.gilles@gmail.com">caulier.gilles@gmail.com</a><br><br><br><br>
Hi,<br>
<br>
Please find the latest report on new defect(s) introduced to digiKam found with Coverity Scan<br>
<br>
Defect(s) Reported-by: Coverity Scan<br>
<br>
<br>
** CID 1026710: Copy-paste error (COPY_PASTE_ERROR)<br>
/mnt/devel/GIT/3.x/core/libs/database/faces/facetags.cpp: 244<br>
<br>
<br>
________________________________________________________________________<br>
CID 1026710: Copy-paste error (COPY_PASTE_ERROR)<br>
<br>
/mnt/devel/GIT/3.x/core/libs/database/faces/facetags.cpp: 238 ( original)<br>
235 {<br>
236 QMap<QString, QString> attributes;<br>
237 QString uuid = TagsCache::instance()->propertyValue(tagId, TagPropertyName::kfaceUuid());<br>
>>> "uuid" looks like the original copy.<br>
238 if (!uuid.isEmpty())<br>
239 {<br>
240 attributes["uuid"] = uuid;<br>
241 }<br>
242<br>
<br>
<br>
/mnt/devel/GIT/3.x/core/libs/database/faces/facetags.cpp: 244 ( copy_paste_error)<br>
241 }<br>
242<br>
243 QString fullName = TagsCache::instance()->propertyValue(tagId, TagPropertyName::person());<br>
>>> CID 1026710: Copy-paste error (COPY_PASTE_ERROR)<br>
>>> "uuid" in "uuid" looks like a copy-paste error. Should it say "fullName" instead?<br>
244 if (!uuid.isEmpty())<br>
245 {<br>
246 attributes["fullName"] = fullName;<br>
247 }<br>
248<br>
<br>
________________________________________________________________________<br>
To view the defects in Coverity Scan visit, <a href="http://scan.coverity.com" target="_blank">http://scan.coverity.com</a><br>
<br>
To unsubscribe from the email notification for new defects, <a href="http://scan5.coverity.com/cgi-bin/unsubscribe.py" target="_blank">http://scan5.coverity.com/cgi-bin/unsubscribe.py</a><br>
</div><br></div>