Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
mdadm.5365
0191-Assemble-assemble_container_content-Avoid-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0191-Assemble-assemble_container_content-Avoid-superfluou.patch of Package mdadm.5365
From 0a8e239c187c234fefc14a1a05561bd3fd1b2e65 Mon Sep 17 00:00:00 2001 From: Jes Sorensen <Jes.Sorensen@redhat.com> Date: Wed, 9 Mar 2016 15:21:26 -0500 Subject: [PATCH 257/359] Assemble: assemble_container_content(): Avoid superfluous NULL initialization References: bsc#1081910 No need to init avail to NULL since it will only be accessed after assignment. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Coly Li <colyli@suse.de> --- Assemble.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assemble.c b/Assemble.c index 8039f32..ec63cf2 100644 --- a/Assemble.c +++ b/Assemble.c @@ -1883,7 +1883,7 @@ int assemble_container_content(struct supertype *st, int mdfd, struct map_ent *map = NULL; int old_raid_disks; int start_reshape; - char *avail = NULL; + char *avail; int err; sysfs_init(content, mdfd, NULL); -- 2.16.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor