Skip to content

Commit

Permalink
Merge pull request #46045 from Dr15Jones/tstorage_fix_warning
Browse files Browse the repository at this point in the history
Removed unused variable in TStorageFactoryFile
  • Loading branch information
cmsbuild authored Sep 20, 2024
2 parents 340cac4 + 6b6c339 commit 2af8b02
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions IOPool/TFileAdaptor/src/TStorageFactoryFile.cc
Original file line number Diff line number Diff line change
Expand Up @@ -491,8 +491,7 @@ Bool_t TStorageFactoryFile::WriteBuffer(const char *buf, Int_t len) {
StorageAccount::Stamp cstats(storageCounter(s_statsCWrite, StorageAccount::Operation::writeViaCache));

// Try first writing via a cache, and if that's not possible, directly.
Int_t st;
switch ((st = WriteBufferViaCache(buf, len))) {
switch (WriteBufferViaCache(buf, len)) {
case 0:
// Actual write.
{
Expand Down

0 comments on commit 2af8b02

Please sign in to comment.