This bug is exported from the Coverity Integration Manager on Canonical's servers. For information on how this is done please see this website: https://wiki.ubuntu.com/CanonicalProductStrategy/Coverity CID: 10447 Checker: DEADCODE Category: No category available CWE definition: http://cwe.mitre.org/data/definitions/561.html File: /tmp/buildd/bamf-0.4.0daily13.01.11/src/bamf-matcher.c Function: get_open_office_window_hint Code snippet: 354 return NULL; 355 356 if (g_str_has_suffix (name, "LibreOffice Writer")) 357 { CID 10447 - DEADCODE {CovLStrv2{{t{Assigning: {0} {1}= {2}.}{"binary"}{}{""libreoffice""}}}} 358 binary = "libreoffice"; 359 parameter = "writer"; 360 } 361 else if (g_str_has_suffix (name, "LibreOffice Calc")) 362 { CID 10447 - DEADCODE {CovLStrv2{{t{Assigning: {0} {1}= {2}.}{"binary"}{}{""libreoffice""}}}} 363 binary = "libreoffice";
This bug is exported from the Coverity Integration Manager on Canonical's servers. For information on how this is done please see this website: https:/ /wiki.ubuntu. com/CanonicalPr oductStrategy/ Coverity cwe.mitre. org/data/ definitions/ 561.html bamf-0. 4.0daily13. 01.11/src/ bamf-matcher. c office_ window_ hint {t{Assigning: {0} {1}= {2}.}{" binary" }{}{""libreoffi ce""}}} } {t{Assigning: {0} {1}= {2}.}{" binary" }{}{""libreoffi ce""}}} }
CID: 10447
Checker: DEADCODE
Category: No category available
CWE definition: http://
File: /tmp/buildd/
Function: get_open_
Code snippet:
354 return NULL;
355
356 if (g_str_has_suffix (name, "LibreOffice Writer"))
357 {
CID 10447 - DEADCODE
{CovLStrv2{
358 binary = "libreoffice";
359 parameter = "writer";
360 }
361 else if (g_str_has_suffix (name, "LibreOffice Calc"))
362 {
CID 10447 - DEADCODE
{CovLStrv2{
363 binary = "libreoffice";