mirror of
https://github.com/falk-werner/webfuse-provider
synced 2026-09-25 14:54:08 +00:00
removed unnecessary NULL check
This commit is contained in:
@@ -33,10 +33,7 @@ struct wf_impl_session * wf_impl_session_manager_add(
|
|||||||
{
|
{
|
||||||
struct wf_impl_session * session = wf_impl_session_create(
|
struct wf_impl_session * session = wf_impl_session_create(
|
||||||
wsi, authenticators, timer_manager, server, mountpoint_factory);
|
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;
|
return session;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user