Skip to content

Commit 739c136

Browse files
committed
Silence implicit-fallthrough and unused EPNAME build warnings.
Mark the intentional GET open-to-checksum state transition with [[fallthrough]] and drop the unused EPNAME from HandleKrb5Auth. Assisted-by: Cursor:Composer-2.5 CursorAI
1 parent 25a9687 commit 739c136

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

src/XrdHttp/XrdHttpReq.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1137,6 +1137,7 @@ int XrdHttpReq::ProcessHTTPReq() {
11371137
// We want to be invoked again after this request is finished
11381138
return 0;
11391139
}
1140+
[[fallthrough]];
11401141
}
11411142
case 1: // Checksum request
11421143
if (!(fileflags & kXR_isDir) && (!m_want_digest.empty() || !m_want_repr_digest.empty())) {

src/XrdHttp/XrdHttpSecurity.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,6 @@ int XrdHttpProtocol::HandleKrb5Auth()
296296
{
297297
#undef TRACELINK
298298
#define TRACELINK Link
299-
EPNAME("HandleKrb5Auth");
300299

301300
if (!XrdHttpKrb5::IsEnabled())
302301
return 0;

0 commit comments

Comments
 (0)