Skip to content

Commit 44792b3

Browse files
committed
Warnings
1 parent b85f361 commit 44792b3

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

source/adios2/toolkit/remote/XrootdRemote.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,8 @@ void myRequest::Alert(XrdSsiRespInfoMsg &aMsg)
134134

135135
// Print what we received
136136
//
137-
// fprintf(XrdSsiCl::outFile, "%s@%s: Rcvd %d bytes alert: '%s'\n", rName,
138-
// GetEndPoint().c_str(),
139-
// theMsz, theMsg);
137+
fprintf(XrdSsiCl::outFile, "%s@%s: Rcvd %d bytes alert: '%s'\n", rName, GetEndPoint().c_str(),
138+
theMsz, theMsg);
140139

141140
// Recycle the message
142141
//

source/utils/xrootd-plugin/AdiosFilePool.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ AnonADIOSFile *ADIOSFilePool::GetFree(std::string Filename, bool RowMajorArrays)
1010
auto res = map.find(index);
1111

1212
SubPool *subpool;
13-
AnonADIOSFile *ret;
1413
if (res != map.end())
1514
{
1615
subpool = res->second.get();

source/utils/xrootd-plugin/XrdSsiSvService.hh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,7 @@ public:
5454
//! Do delayed echo (internal)
5555
//-----------------------------------------------------------------------------
5656

57-
void doWecho()
58-
{
59-
Respond(m_responseBuffer, m_respMeta);
60-
}
57+
void doWecho() { Respond(m_responseBuffer, m_respMeta); }
6158

6259
void doAdiosGet() { AdiosRespond(m_responseBuffer, m_respMeta); }
6360

@@ -103,7 +100,7 @@ protected:
103100
//! Destructor is protected. You cannot use delete on a service, use the
104101
//! Stop() method to effectively delete the service object.
105102
//-----------------------------------------------------------------------------
106-
~XrdSsiSvService();
103+
~XrdSsiSvService();
107104

108105
private:
109106
int Copy2Buff(char *dest, int dsz, const char *src, int ssz);
@@ -118,7 +115,7 @@ private:
118115
static int alertNum;
119116
char *sName;
120117
char *m_responseBuffer = NULL;
121-
int m_responseBufferSize = 0;
118+
size_t m_responseBufferSize = 0;
122119
char m_respMeta[512];
123120
char m_respData[1024];
124121
int streamRdSz;

0 commit comments

Comments
 (0)