1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-10-27 20:44:10 +00:00

removed unnecessary NULL check

This commit is contained in:
Falk Werner 2020-04-02 19:34:52 +02:00
parent f8a402c3a1
commit 06c01995fe

View File

@ -33,10 +33,7 @@ struct wf_impl_session * wf_impl_session_manager_add(
{
struct wf_impl_session * session = wf_impl_session_create(
wsi, authenticators, timer_manager, server, mountpoint_factory);
if (NULL != session)
{
wf_slist_append(&manager->sessions, &session->item);
}
wf_slist_append(&manager->sessions, &session->item);
return session;
}