Revision: 77272
http://sourceforge.net/p/brlcad/code/77272
Author: brlcad
Date: 2020-09-29 17:51:50 +0000 (Tue, 29 Sep 2020)
Log Message:
-----------
the problem on bsd was simple struct initialization. needed to be zero'd
before use.
Modified Paths:
--------------
brlcad/trunk/bench/pixcmp.c
Modified: brlcad/trunk/bench/pixcmp.c
===================================================================
--- brlcad/trunk/bench/pixcmp.c 2020-09-29 17:24:34 UTC (rev 77271)
+++ brlcad/trunk/bench/pixcmp.c 2020-09-29 17:51:50 UTC (rev 77272)
@@ -121,7 +121,8 @@
{
FILE *f1 = NULL;
FILE *f2 = NULL;
- struct stat sf1, sf2;
+ struct stat sf1 = {0};
+ struct stat sf2 = {0};
size_t matching = 0;
size_t off1 = 0;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits