From 2e648e4b7d0740a0583568c017d12a9d9a359799 Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Sun, 15 Mar 2015 00:09:05 +0100 Subject: Removed unnecessary g_assert call, fixes #746003 Removing the g_assert call leads to a return of NULL when no ID could be found. Signed-off-by: Uwe Scholz diff --git a/src/owner.h b/src/owner.h index a5e8e5d..85305ca 100644 --- a/src/owner.h +++ b/src/owner.h @@ -162,8 +162,6 @@ inline const gchar *GnomeCmdOwner::HashTable::operator [] (ID id) { Entry *entry = lookup(id); - g_assert (entry != NULL); - return entry ? entry->name : NULL; } -- cgit v0.10.2