Skip to content
Snippets Groups Projects
Commit aef9727c authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Silence clang uninitialized warnings.

parent 86ef1c9d
No related branches found
No related tags found
No related merge requests found
...@@ -364,10 +364,10 @@ fwFileWriteAtReblock(int fileID, const void *buffer, size_t len) ...@@ -364,10 +364,10 @@ fwFileWriteAtReblock(int fileID, const void *buffer, size_t len)
int numBlockBuf = of->numBlockBuf; int numBlockBuf = of->numBlockBuf;
int numMsg = of->numMsg; int numMsg = of->numMsg;
const unsigned char *inBuf = buffer; const unsigned char *inBuf = buffer;
const unsigned char *directWriteBuf; const unsigned char *directWriteBuf = NULL;
/* positive value iff direct write occurs */ /* positive value iff direct write occurs */
int directWriteSize = -1; int directWriteSize = -1;
MPI_Offset directWriteOfs; MPI_Offset directWriteOfs = 0;
for (int collRank = 0; collRank < sizePio; ++collRank) for (int collRank = 0; collRank < sizePio; ++collRank)
if (of->collWriteSize[collRank]) if (of->collWriteSize[collRank])
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment