Coverity DEADCODE - CID 10498
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libunity |
Invalid
|
Medium
|
Unassigned | ||
5.0 |
Invalid
|
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: 10498
Checker: DEADCODE
Category: No category available
CWE definition: http://
File: /tmp/buildd/
Function: unity_filter_
Code snippet:
344 static GQuark _tmp2_label3 = 0;
345 static GQuark _tmp2_label4 = 0;
346 g_return_
347 _tmp0_ = renderer_name;
CID 10498 - DEADCODE
After this line (or expression), the value of "_tmp1_" cannot be 0.
348 _tmp1_ = _tmp0_;
CID 10498 - DEADCODE
On this path, the condition "NULL == _tmp1_" cannot be true.
Execution cannot reach this expression "0U" inside statement "_tmp3_ = ((NULL == _tmp1_) ...".
349 _tmp3_ = (NULL == _tmp1_) ? 0 : g_quark_from_string (_tmp1_);
350 if (_tmp3_ == ((0 != _tmp2_label0) ? _tmp2_label0 : (_tmp2_label0 = g_quark_
351 switch (0) {
352 default:
353 {
Changed in libunity: | |
status: | New → Invalid |
Source file with Coverity annotations.