Skip to content

Commit 2af8b02

Browse files
authored
Merge pull request #46045 from Dr15Jones/tstorage_fix_warning
Removed unused variable in TStorageFactoryFile
2 parents 340cac4 + 6b6c339 commit 2af8b02

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

IOPool/TFileAdaptor/src/TStorageFactoryFile.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,8 +491,7 @@ Bool_t TStorageFactoryFile::WriteBuffer(const char *buf, Int_t len) {
491491
StorageAccount::Stamp cstats(storageCounter(s_statsCWrite, StorageAccount::Operation::writeViaCache));
492492

493493
// Try first writing via a cache, and if that's not possible, directly.
494-
Int_t st;
495-
switch ((st = WriteBufferViaCache(buf, len))) {
494+
switch (WriteBufferViaCache(buf, len)) {
496495
case 0:
497496
// Actual write.
498497
{

0 commit comments

Comments
 (0)