Skip to content

Commit 6b6c339

Browse files
committed
Removed unused variable in TStorageFactoryFile
1 parent e939939 commit 6b6c339

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)