mirror of
https://github.com/falk-werner/webfuse-provider
synced 2026-03-02 04:09:18 +00:00
removed NULL-checks after malloc: they are not necessary, they were not consequently used and objects constructed by 3rd party libs are also unchecked
This commit is contained in:
@@ -14,10 +14,7 @@ struct wf_timer_manager *
|
||||
wf_timer_impl_manager_create(void)
|
||||
{
|
||||
struct wf_timer_manager * manager = malloc(sizeof(struct wf_timer_manager));
|
||||
if (NULL != manager)
|
||||
{
|
||||
manager->timers = NULL;
|
||||
}
|
||||
manager->timers = NULL;
|
||||
|
||||
return manager;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user