Initialize the uninitialized variable 'firstRdma' in ZC API charmxi code 61/4861/1
authorNitin Bhat <nbhat4@illinois.edu>
Thu, 13 Dec 2018 20:00:15 +0000 (14:00 -0600)
committerNitin Bhat <nbhat4@illinois.edu>
Thu, 13 Dec 2018 20:00:15 +0000 (14:00 -0600)
This uninitialized variable was storing garbage values on windows builds
and causing erroneous code to be produced by charmxi for the ZC Entry
Method API. This commit fixes the mpi-win & multicore-win autobuild
failures.

Change-Id: I26105f2950be5b82369ef5492acb2750cd4ca578

src/xlat-i/xi-Parameter.C

index 758ccc4abc06b66e00296b3e8b268f63d1e6130b..396fada11793a8885a77d61c0418689011d204a6 100644 (file)
@@ -55,7 +55,8 @@ Parameter::Parameter(int Nline, Type* Ntype, const char* Nname, const char* Narr
       conditional(0),
       given_name(Nname),
       podType(false),
-      rdma(false) {
+      rdma(false),
+      firstRdma(false) {
   if (isMessage()) {
     name = "impl_msg";
   }