← Back to team overview

desktop-packages team mailing list archive

[Bug 1101626] Re: Coverity MIXED_ENUMS - CID 12469 - compizconfig/libcompizconfig/src/compiz.cpp - in function: initListInfoPB(_CCSSettingInfo *, const metadata::Plugin_Option &) - Mixing enum types _CCSSettingType and metadata::Plugin_Option_Type for "listType".

 

** Changed in: compiz (Ubuntu)
       Status: New => Confirmed

** Changed in: compiz (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/1101626

Title:
  Coverity MIXED_ENUMS - CID 12469 -
  compizconfig/libcompizconfig/src/compiz.cpp - in function:
  initListInfoPB(_CCSSettingInfo *, const metadata::Plugin_Option &) -
  Mixing enum types _CCSSettingType and metadata::Plugin_Option_Type for
  "listType".

Status in Compiz:
  Triaged
Status in Compiz 0.9.9 series:
  Won't Fix
Status in compiz package in Ubuntu:
  Confirmed

Bug description:
  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: 12469
  Checker: MIXED_ENUMS
  Category: No category available
  CWE definition: No definition available
  File: /tmp/buildd/compiz-0.9.9~daily13.01.14/compizconfig/libcompizconfig/src/compiz.cpp
  Function: initListInfoPB(_CCSSettingInfo *, const metadata::Plugin_Option &)
  Code snippet:
  502     i->forList.listInfo = NULL;
  503 
  504     if (option.has_list_type ())
  505     {
  CID 12469 - MIXED_ENUMS
  Mixing enum types _CCSSettingType and metadata::Plugin_Option_Type for "listType".
  506 	i->forList.listType = (CCSSettingType) option.list_type ();
  507     }
  508     switch (i->forList.listType)
  509     {
  510     case TypeInt:
  511 	{

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/1101626/+subscriptions