summaryrefslogtreecommitdiff
path: root/source4/heimdal
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2016-03-03 09:33:38 +1300
committerMichael Adam <obnox@samba.org>2016-03-03 16:21:52 +0100
commit116f41577901951893cd2832d4ba963c7dd877dd (patch)
tree22fa4fea5638b1abc6f985e3775b65f6dc6fd334 /source4/heimdal
parentc9836e812103eb099a4ad39493917d0726a58279 (diff)
downloadsamba-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.c3
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