diff options
Diffstat (limited to 'source4/gtk/common')
-rw-r--r-- | source4/gtk/common/gtk_events.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source4/gtk/common/gtk_events.c b/source4/gtk/common/gtk_events.c index 3301ca2b75..f844ab01c9 100644 --- a/source4/gtk/common/gtk_events.c +++ b/source4/gtk/common/gtk_events.c @@ -171,8 +171,6 @@ static struct fd_event *gtk_event_add_fd(struct event_context *ev, TALLOC_CTX *m */ static uint16_t gtk_event_get_fd_flags(struct fd_event *fde) { - if (!fde) return 0; - return fde->flags; } @@ -185,8 +183,6 @@ static void gtk_event_set_fd_flags(struct fd_event *fde, uint16_t flags) struct gtk_fd_event); GIOCondition condition = 0; - if (!fde) return; - if (fde->flags == flags) return; if (flags & EVENT_FD_READ) |