new_container: no need to initialize container pointer in declaration.

From Li zeming.
This commit is contained in:
Todd C. Miller
2022-09-20 10:18:09 -06:00
parent 4989856321
commit 7464b300d9

View File

@@ -174,7 +174,7 @@ static struct plugin_container *
new_container(void *handle, const char *path, struct generic_plugin *plugin,
struct plugin_info *info)
{
struct plugin_container *container = NULL;
struct plugin_container *container;
debug_decl(new_container, SUDO_DEBUG_PLUGIN);
if ((container = calloc(1, sizeof(*container))) == NULL) {