Skip to content

Commit 2a6a96d

Browse files
committed
warn
1 parent 033a920 commit 2a6a96d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

source/adios2/engine/bp5/BP5Reader.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,22 +305,21 @@ double BP5Reader::GetStepApplicationTime()
305305
else
306306
{
307307
// messier logic
308-
StepStatus status;
309308
double timeoutSeconds = 1.0; // arbitrary
310309
if (m_FirstStep)
311310
{
312311
if (!m_StepsCount)
313312
{
314313
// not steps was found in Open/Init, check for new steps now
315-
status = CheckForNewSteps(Seconds(timeoutSeconds));
314+
(void)CheckForNewSteps(Seconds(timeoutSeconds));
316315
}
317316
}
318317
else
319318
{
320319
if (m_CurrentStep + 1 >= m_StepsCount)
321320
{
322321
// we processed steps in memory, check for new steps now
323-
status = CheckForNewSteps(Seconds(timeoutSeconds));
322+
(void)CheckForNewSteps(Seconds(timeoutSeconds));
324323
}
325324
}
326325
if (m_StepsCount > m_CurrentStep)

0 commit comments

Comments
 (0)