Skip to content

Commit

Permalink
[XProtocol.hh] Added fallthrough statement for ENOTEMPTY errno code m…
Browse files Browse the repository at this point in the history
…apping
  • Loading branch information
ccaffy committed May 30, 2023
1 parent 9fe9a7d commit 3b87b77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/XProtocol/XProtocol.hh
Original file line number Diff line number Diff line change
Expand Up @@ -1394,7 +1394,8 @@ static int mapError(int rc)
// In the case one tries to delete a non-empty directory
// we have decided that until the next major release
// the kXR_ItExists flag will be returned
case ENOTEMPTY: return kXR_ItExists;
[[fallthrough]];
case ENOTEMPTY: return kXR_ItExists;
default: return kXR_FSError;
}
}
Expand Down

0 comments on commit 3b87b77

Please sign in to comment.