Branch: refs/heads/master
Home: https://github.com/xrootd/xrootd
Commit: 0898ed380a457ff1c0c2547953d0fd36eaeaeebe
https://github.com/xrootd/xrootd/commit/0898ed380a457ff1c0c2547953d0fd36eaeaeebe
Author: Mattias Ellert <[log in to unmask]>
Date: 2022-01-17 (Mon, 17 Jan 2022)
Changed paths:
M src/XrdXrootd/XrdXrootdAioTask.hh
Log Message:
-----------
Fix warning about uninitialized variable
The cond variable is initialized using the mutex before the mutex is
initialized. Changing the order of the members in the class ensures
the mutex is initialized first.
.../src/./XrdXrootd/XrdXrootdAioTask.hh:70:51: error: member 'XrdXrootdAioTask::aioMutex' is used uninitialized [-Werror=uninitialized]
70 | : XrdJob(what), aioReady(aioMutex) {}
| ^~~~~~~~
cc1plus: all warnings being treated as errors
Commit: 1780fc12fb947a2bda22007a715527a18621a6cb
https://github.com/xrootd/xrootd/commit/1780fc12fb947a2bda22007a715527a18621a6cb
Author: Mattias Ellert <[log in to unmask]>
Date: 2022-01-17 (Mon, 17 Jan 2022)
Changed paths:
M src/XrdCl/XrdClXCpSrc.cc
Log Message:
-----------
Fix warning about dereferncing null pointer
In member function 'XrdCl::ChunkHandler::ToPgInfo(XrdCl::AnyObject*, XrdCl::PageInfo*&)',
inlined from 'XrdCl::ChunkHandler::HandleResponse(XrdCl::XRootDStatus*, XrdCl::AnyObject*)' at .../src/XrdCl/XrdClXCpSrc.cc:58:17:
.../src/XrdCl/XrdClXCpSrc.cc:97:66: error: 'this' pointer is null [-Werror=nonnull]
97 | *chunk = PageInfo( rsp->offset, rsp->length, rsp->buffer );
| ^
In file included from .../src/./XrdCl/XrdClFileSystem.hh:32,
from .../src/./XrdCl/XrdClFile.hh:28,
from .../src/./XrdCl/XrdClXCpSrc.hh:28,
from .../src/XrdCl/XrdClXCpSrc.cc:25:
.../src/./XrdCl/XrdClXRootDResponses.hh: In member function 'XrdCl::ChunkHandler::HandleResponse(XrdCl::XRootDStatus*, XrdCl::AnyObject*)':
.../src/./XrdCl/XrdClXRootDResponses.hh:962:15: note: in a call to non-static member function 'XrdCl::PageInfo::operator=(XrdCl::PageInfo&&)'
962 | PageInfo& operator=( PageInfo &&pginf );
| ^~~~~~~~
cc1plus: all warnings being treated as errors
Commit: 62337be8ada4692bfd10eceaa042e3c4a553ece8
https://github.com/xrootd/xrootd/commit/62337be8ada4692bfd10eceaa042e3c4a553ece8
Author: Mattias Ellert <[log in to unmask]>
Date: 2022-01-17 (Mon, 17 Jan 2022)
Changed paths:
M src/XrdPosix/XrdPosixXrootd.cc
Log Message:
-----------
Fix warning about comparing arrays
Cast the arrays to pointers to avoid the warning
.../src/XrdPosix/XrdPosixXrootd.cc:955:22: error: comparison between two arrays [-Werror=array-compare]
955 | if (dp32->d_name != dp64->d_name)
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
Commit: 86d40e79b4ece53d9e5c2dfb6b40ff77888ebad6
https://github.com/xrootd/xrootd/commit/86d40e79b4ece53d9e5c2dfb6b40ff77888ebad6
Author: Mattias Ellert <[log in to unmask]>
Date: 2022-01-18 (Tue, 18 Jan 2022)
Changed paths:
M src/XrdCl/XrdClXCpSrc.cc
Log Message:
-----------
Do not give up ownership of ChunkInfo
Commit: ca4769240a959768f211c39025e8fdb7f8e3f5e9
https://github.com/xrootd/xrootd/commit/ca4769240a959768f211c39025e8fdb7f8e3f5e9
Author: simonmichal <[log in to unmask]>
Date: 2022-01-18 (Tue, 18 Jan 2022)
Changed paths:
M src/XrdCl/XrdClXCpSrc.cc
M src/XrdPosix/XrdPosixXrootd.cc
M src/XrdXrootd/XrdXrootdAioTask.hh
Log Message:
-----------
Merge pull request #1592 from ellert/compiler-warnings
Compiler warnings
Compare: https://github.com/xrootd/xrootd/compare/99a4925f5c46...ca4769240a95
########################################################################
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1
|