Commit 4f11a8db authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix for clang unitialized warning.

parent 4939a3fb
...@@ -1201,7 +1201,7 @@ cdiPioServerStreamOpen(const char *filename, char filemode, ...@@ -1201,7 +1201,7 @@ cdiPioServerStreamOpen(const char *filename, char filemode,
int filetype, stream_t *streamptr, int filetype, stream_t *streamptr,
int recordBufIsToBeCreated) int recordBufIsToBeCreated)
{ {
int fileID; int fileID = -1;
#if defined HAVE_LIBNETCDF && ! defined HAVE_PARALLEL_NC4 #if defined HAVE_LIBNETCDF && ! defined HAVE_PARALLEL_NC4
/* Only needs initialization to shut up gcc */ /* Only needs initialization to shut up gcc */
int rank = -1; int rank = -1;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment