Stray semicolon in datetime-prefs

Bug #1064546 reported by Charles Kerr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Indicator Date and Time
Fix Released
Medium
Charles Kerr
indicator-datetime (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Coverity found the stray semicolon in line 311 here in datetime-prefs.c:

311 if (priv->tz_query_cancel == NULL); {
312 priv->tz_query_cancel = g_cancellable_new();
313 g_dbus_proxy_call (priv->proxy, "GetTimezone", NULL, G_DBUS_CALL_FLAGS_NONE, -1,
314 priv->tz_query_cancel, (GAsyncReadyCallback)tz_query_answered, self);
315 }
316}

Looks like this was introduced in http://bazaar.launchpad.net/~indicator-applet-developers/indicator-datetime/trunk.12.10/revision/165.1.1 which was added for bug #942450 for 2012-03-28 ... so this is probably in 12.04 as well.

It looks to me like the downside of this extra semicolon is that the crash in bug #942450 could still be triggered in 12.04 and in indicator-datetime 12.10.2

Related branches

Changed in indicator-datetime:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package indicator-datetime - 12.10.3daily12.11.23-0ubuntu1

---------------
indicator-datetime (12.10.3daily12.11.23-0ubuntu1) raring; urgency=low

  [ Mathieu Trudel-Lapierre ]
  * Automatic snapshot from revision 197 (bootstrap):
    - Add scaffolding for Google Tests. (LP: #985060)
    - Add "check-news" to our AM_INIT_AUTOMAKE() call. (LP: #1075753)
    - Don't use geoclue until the user clicks the "Show time in auto-detected
      location" checkbox. (LP: #1074999)
    - Remove stray semicolon found by Coverity. (LP: #1064546)
  * debian/control:
    - Update to follow style like other indicator packages: use trailing commas
      at the end of lists.
    - Reorganize Build-Depends for clarity.
    - Drop Build-Depends on cdbs, bump debhelper to (>= 9).
    - Update Vcs-Bzr and Vcs-Browser, add a notice for uploaders.
    - Add gnome-common to Build-Depends.
    - Add libxorg-gtest-dev, libgtest-dev to Build-Depends.
  * debian/compat: bump compat level to 9.
  * debian/rules:
    - Switch to using the dh sequencer instead of cdbs rules, adjust targets
      accordingly.
    - Override dh_autoreconf to make it use autogen.sh from upstream.

  [ Didier Roche ]
  * debian/copyright:
    - Update the copyright

  [ Mathieu Trudel-Lapierre ]
  * Don't use geoclue if "show-auto-detected-location" is set to false
    (LP: #1074999)
  * Add check-news to indicators' AM_INIT_AUTOMAKE rules (LP: #1075753)
  * Add Google Test to projects lacking test suites (LP: #985060)
  * Stray semicolon in datetime-prefs (LP: #1064546)

  [ Automatic PS uploader ]
  * Automatic snapshot from revision 199
 -- Automatic PS uploader <email address hidden> Fri, 23 Nov 2012 07:39:58 +0000

Changed in indicator-datetime (Ubuntu):
status: New → Fix Released
Charles Kerr (charlesk)
Changed in indicator-datetime:
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

Remote bug watches

Bug watches keep track of this bug in other bug trackers.