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:
parent
f8a402c3a1
commit
06c01995fe
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user