2008-03-30 Matthias Clasen <mclasen@redhat.com>
* glib/ghash.c: Fix the build with -DG_DISABLE_ASSERT.
(#525060, Arfrever Frehtes Taifersar Arahesis)
svn path=/trunk/; revision=6777
2008-03-30 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/ghash.c: Fix the build with -DG_DISABLE_ASSERT.
+ (#525060, Arfrever Frehtes Taifersar Arahesis)
+
+2008-03-30 Matthias Clasen <mclasen@redhat.com>
* glib/gthread.h: Replace occurrances of G_GNUC_PRETTY_FUNCTION
by G_STRFUNC. (#524344, Peter, Kjellerstedt)
RealIter *ri = (RealIter *) iter;
g_return_val_if_fail (iter != NULL, FALSE);
+#ifndef G_DISABLE_ASSERT
g_return_val_if_fail (ri->version == ri->hash_table->version, FALSE);
+#endif
if (ri->pre_advanced)
{
int position;
g_return_if_fail (ri != NULL);
+#ifndef G_DISABLE_ASSERT
g_return_if_fail (ri->version == ri->hash_table->version);
+#endif
g_return_if_fail (ri->node != NULL);
prev = ri->prev_node;