← Back to team overview

dx-packages team mailing list archive

[Bug 943706] Re: Coverity ASSERT_SIDE_EFFECT - CID 10690

 

** Project changed: notify-osd => notify-osd (Ubuntu)

** No longer affects: notify-osd/oneiric

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to notify-osd in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/943706

Title:
  Coverity ASSERT_SIDE_EFFECT - CID 10690

Status in “notify-osd” 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: 10690
  Checker: ASSERT_SIDE_EFFECT
  Category: No category available
  CWE definition: No definition available
  File: /tmp/buildd/notify-osd-0.9.33/tests/test-dbus.c
  Function: test_dbus_get_capabilities()
  Code snippet:
   74 
   75 	int i = 0;
   76 	while (caps[i] != NULL)
   77 	{
  CID 10690 - ASSERT_SIDE_EFFECT
  Argument "i++" of g_assert() has a side effect.  The containing function might work differently in a non-debug build.
   78 		g_assert (!g_strrstr (caps[i++], "actions"));
   79 	}
   80 }
   81 
   82 static void
   83 test_dbus_get_server_information (gpointer fixture, gconstpointer user_data)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/notify-osd/+bug/943706/+subscriptions