diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2016-03-03 09:33:38 +1300 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2016-03-03 16:21:52 +0100 |
commit | 116f41577901951893cd2832d4ba963c7dd877dd (patch) | |
tree | 22fa4fea5638b1abc6f985e3775b65f6dc6fd334 /source4/heimdal | |
parent | c9836e812103eb099a4ad39493917d0726a58279 (diff) | |
download | samba-116f41577901951893cd2832d4ba963c7dd877dd.tar.gz |
heimdal asn1: avoid fclose(NULL) caused by missing braces
Thanks to GCC6 -Wmisleading-indentation.
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Thu Mar 3 16:21:52 CET 2016 on sn-devel-144
Diffstat (limited to 'source4/heimdal')
-rw-r--r-- | source4/heimdal/lib/asn1/gen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/heimdal/lib/asn1/gen.c b/source4/heimdal/lib/asn1/gen.c index 2194b329ce1..fd833dbd76f 100644 --- a/source4/heimdal/lib/asn1/gen.c +++ b/source4/heimdal/lib/asn1/gen.c @@ -290,9 +290,10 @@ close_generate (void) fclose (privheaderfile); if (templatefile) fclose (templatefile); - if (logfile) + if (logfile) { fprintf (logfile, "\n"); fclose (logfile); + } } void |