touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #104936
[Bug 937489] Re: Coverity PW.SWITCH_SELECTOR_EXPR_IS_CONSTANT - CID 10571
** Changed in: libunity (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libunity in Ubuntu.
https://bugs.launchpad.net/bugs/937489
Title:
Coverity PW.SWITCH_SELECTOR_EXPR_IS_CONSTANT - CID 10571
Status in libunity:
New
Status in libunity 5.0 series:
New
Status in libunity package in Ubuntu:
New
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: 10571
Checker: PW.SWITCH_SELECTOR_EXPR_IS_CONSTANT
Category: No category available
CWE definition: No definition available
File: /tmp/buildd/libunity-5.4.0/src/unity-lens-filters.c
Function: No function name available
Code snippet:
347 _tmp0_ = renderer_name;
348 _tmp1_ = _tmp0_;
349 _tmp3_ = (NULL == _tmp1_) ? 0 : g_quark_from_string (_tmp1_);
350 if (_tmp3_ == ((0 != _tmp2_label0) ? _tmp2_label0 : (_tmp2_label0 = g_quark_from_static_string ("filter-checkoption")))) {
CID 10571 - PW.SWITCH_SELECTOR_EXPR_IS_CONSTANT
selector expression is constant
351 switch (0) {
352 default:
353 {
354 result = UNITY_FILTER_RENDERER_CHECK_OPTIONS;
355 return result;
356 }
To manage notifications about this bug go to:
https://bugs.launchpad.net/libunity/+bug/937489/+subscriptions