Skip to content

Commit

Permalink
🐛 Fix missing va_end in UnwPrintf (MarlinFirmware#25027)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivalik authored and SMHRambo committed Feb 7, 2023
1 parent 99fda50 commit 5097b37
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Marlin/src/HAL/shared/backtrace/unwarm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@
void UnwPrintf(const char *format, ...) {
va_list args;

va_start( args, format );
vprintf(format, args );
va_start(args, format);
vprintf(format, args);
va_end(args);
}
#endif

Expand Down

0 comments on commit 5097b37

Please sign in to comment.