It seems that gcc-4.4.6 doesn't like
struct plist p = {0};
as it don't initialise all fields.
I only added that to make sure 'outfile' was initialised, so
just do that explicitly.
Reported-by: Stephen Cameron @ G+
Signed-off-by: NeilBrown <neilb@suse.de>
struct plist p = {0};
p.file = origname;
- if (replace)
- p.outfile = outfile;
+ p.outfile = replace ? outfile : NULL;
if (patch) {
p.start = 0;
fseek(patch, 0, SEEK_END);