Coverity PW.SWITCH_SELECTOR_EXPR_IS_CONSTANT - CID 10571
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libunity |
New
|
Medium
|
Unassigned | ||
5.0 |
New
|
Medium
|
Unassigned | ||
libunity (Ubuntu) |
New
|
Medium
|
Unassigned |
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:/
CID: 10571
Checker: PW.SWITCH_
Category: No category available
CWE definition: No definition available
File: /tmp/buildd/
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_
CID 10571 - PW.SWITCH_
selector expression is constant
351 switch (0) {
352 default:
353 {
354 result = UNITY_FILTER_
355 return result;
356 }
Changed in libunity (Ubuntu): | |
importance: | Undecided → Medium |
Source file with Coverity annotations.