Commit 0ae6e683 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix unused parts of reshEntryExists.

parent 472726ae
...@@ -429,11 +429,11 @@ void *reshGetValue(const char * caller, const char* expressionString, cdiResH re ...@@ -429,11 +429,11 @@ void *reshGetValue(const char * caller, const char* expressionString, cdiResH re
} }
int int
reshEntryExists(const char * caller, const char* expressionString, cdiResH resH, const resOps * ops) reshEntryExists(cdiResH resH, const resOps * ops)
{ {
int nsp; int nsp;
namespaceTuple_t nspT; namespaceTuple_t nspT;
listElem_t *listElem; listElem_t *listElem = NULL;
xassert ( ops ); xassert ( ops );
LIST_INIT(1); LIST_INIT(1);
LIST_LOCK(); LIST_LOCK();
......
...@@ -62,8 +62,8 @@ unsigned reshCountType(const resOps *resTypeOps); ...@@ -62,8 +62,8 @@ unsigned reshCountType(const resOps *resTypeOps);
void * reshGetValue(const char* caller, const char* expressionString, cdiResH id, const resOps* ops); void * reshGetValue(const char* caller, const char* expressionString, cdiResH id, const resOps* ops);
#define reshGetVal(resH, ops) reshGetValue(__func__, #resH, resH, ops) #define reshGetVal(resH, ops) reshGetValue(__func__, #resH, resH, ops)
int reshEntryExists(const char* caller, const char* expressionString, cdiResH id, const resOps* ops); int reshEntryExists(cdiResH id, const resOps* ops);
#define reshExists(resH, ops) reshEntryExists(__func__, #resH, resH, ops) #define reshExists(resH, ops) reshEntryExists(resH, ops)
void reshGetResHListOfType(unsigned numIDs, int IDs[numIDs], const resOps *ops); void reshGetResHListOfType(unsigned numIDs, int IDs[numIDs], const resOps *ops);
......
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