Commit 32f5a431 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Removed unused variables.

parent 7e17fa4e
......@@ -40,22 +40,20 @@ int pclose(FILE *stream);
#include "modules.h"
#include "pstream.h"
#include "pstream_int.h"
#include "cdo_int.h"
#include "util.h"
#include "pipe.h"
#include "error.h"
#include "dmemory.h"
static int PSTREAM_Debug = 0;
#define MAX_PSTREAMS 4096
//#define MAX_PSTREAMS 4096
static int _pstream_max = MAX_PSTREAMS;
//static int _pstream_max = MAX_PSTREAMS;
static void pstream_initialize(void);
//static void pstream_initialize(void);
static bool _pstream_init = false;
//static bool _pstream_init = false;
#if defined(HAVE_LIBPTHREAD)
#include <pthread.h>
......@@ -68,7 +66,7 @@ static pthread_mutex_t streamOpenReadMutex = PTHREAD_MUTEX_INITIALIZER;
static pthread_mutex_t streamOpenWriteMutex = PTHREAD_MUTEX_INITIALIZER;
static pthread_mutex_t streamMutex = PTHREAD_MUTEX_INITIALIZER;
static pthread_once_t _pstream_init_thread = PTHREAD_ONCE_INIT;
//static pthread_once_t _pstream_init_thread = PTHREAD_ONCE_INIT;
//static pthread_mutex_t _pstream_mutex;
static std::mutex _pstream_map_mutex;
......@@ -1602,7 +1600,6 @@ pstreamInqTimestep(int pstreamID, int tsID)
if (nrecs == 0 && pstreamptr->mfiles && (pstreamptr->nfiles < pstreamptr->mfiles))
{
size_t len;
int nfile = pstreamptr->nfiles;
std::string filename;
int fileID;
......
Markdown is supported
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