Coverity UNUSED_VALUE - CID 10696

Bug #943746 reported by Product Strategy Coverity Bug Uploader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Indicator Date and Time
Fix Released
Low
Charles Kerr
0.3
New
Undecided
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://wiki.ubuntu.com/CanonicalProductStrategy/Coverity
CID: 10696
Checker: UNUSED_VALUE
Category: No category available
CWE definition: http://cwe.mitre.org/data/definitions/563.html
File: /tmp/buildd/indicator-datetime-0.3.90/src/datetime-service.c
Function: populate_appointment_instances()
Code snippet:
678 else
679 e_cal_component_get_due (comp, &datetime);
680
681 appointment_zone = icaltimezone_get_builtin_timezone_from_tzid(datetime.tzid);
CID 10696 - UNUSED_VALUE
Pointer "current_zone" returned by "icaltimezone_get_builtin_timezone_from_tzid(current_timezone)" is never used.
682 current_zone = icaltimezone_get_builtin_timezone_from_tzid(current_timezone);
683 if (!appointment_zone || datetime.value->is_date) { // If it's today put in the current timezone?
684 appointment_zone = current_zone;
685 }
686
687 // TODO: Convert the timezone into a 3 letter abbreviation if it's different to current_timezone

Related branches

Revision history for this message
Product Strategy Coverity Bug Uploader (coverity-uploader) wrote : indicator-datetime-0.3: /tmp/buildd/indicator-datetime-0.3.90/src/datetime-service.c

Source file with Coverity annotations.

Changed in indicator-datetime:
importance: Undecided → Low
Charles Kerr (charlesk)
Changed in indicator-datetime:
status: New → In Progress
assignee: nobody → charles (charlesk)
Revision history for this message
Charles Kerr (charlesk) wrote :
Changed in indicator-datetime:
status: In Progress → Fix Committed
Ted Gould (ted)
Changed in indicator-datetime:
milestone: none → 0.3.91
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers