← Back to team overview

dx-packages team mailing list archive

[Bug 943706] [NEW] Coverity ASSERT_SIDE_EFFECT - CID 10690

 

You have been subscribed to a public bug:

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)

** Affects: notify-osd (Ubuntu)
     Importance: Medium
         Status: New

** Affects: notify-osd/oneiric
     Importance: Undecided
         Status: New


** Tags: coverity coverity-assert-side-effect
-- 
Coverity ASSERT_SIDE_EFFECT - CID 10690
https://bugs.launchpad.net/bugs/943706
You received this bug notification because you are a member of DX Packages, which is subscribed to notify-osd in Ubuntu.