Skip to content

Commit

Permalink
fix CDash warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Jo-stfc committed Sep 17, 2024
1 parent 855bb22 commit 9174861
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/XrdCeph/XrdCephOss.cc
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ ssize_t getNumericAttr(const char* const path, const char* attrName, const int m
if (attrLen <= 0) {
retval = -EINVAL;
} else {
attrValue[attrLen] = (char)NULL;
attrValue[attrLen] = (char)'\0';
char *endPointer = (char *)NULL;
retval = strtoll(attrValue, &endPointer, 10);
}
Expand Down
2 changes: 1 addition & 1 deletion src/XrdCeph/XrdCephPosix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

#include <sys/types.h>
#include <sys/stat.h>
#include <sys/errno.h>
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
Expand Down

0 comments on commit 9174861

Please sign in to comment.