summaryrefslogtreecommitdiff
path: root/desktop/gui_factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/gui_factory.c')
-rw-r--r--desktop/gui_factory.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/desktop/gui_factory.c b/desktop/gui_factory.c
index 7ab7b465a..8b52e5469 100644
--- a/desktop/gui_factory.c
+++ b/desktop/gui_factory.c
@@ -678,9 +678,6 @@ static nserror verify_misc_register(struct gui_misc_table *gmt)
if (gmt->schedule == NULL) {
return NSERROR_BAD_PARAMETER;
}
- if (gmt->warning == NULL) {
- return NSERROR_BAD_PARAMETER;
- }
/* fill in the optional entries with defaults */
if (gmt->quit == NULL) {