Skip to content

Commit

Permalink
Removed unused variable in TStorageFactoryFile
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr15Jones committed Sep 18, 2024
1 parent e939939 commit 6b6c339
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 6b6c339

Please sign in to comment.