Add va_end() to close corresponding va_start(). #1563 (#1571)

This commit is contained in:
jmpenn 2023-09-21 10:15:32 -05:00 committed by GitHub
parent 02f7203597
commit 9185faf322
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,6 +35,7 @@ class IntegLoopSimObject : public Trick::SimObject {
integ_sched.add_sim_object( *next_sobj ); integ_sched.add_sim_object( *next_sobj );
next_sobj = va_arg(ap, Trick::SimObject*); next_sobj = va_arg(ap, Trick::SimObject*);
}; };
va_end(ap);
add_jobs(in_cycle, child) ; add_jobs(in_cycle, child) ;
} }