Skip to content

Commit 0f3038b

Browse files
committed
Fix compiler error
1 parent 6300e09 commit 0f3038b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Arduino_DebugUtils.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ void Arduino_DebugUtils::vPrint(char const * fmt, va_list args) {
108108
// in the rare case where VLA is not allowed by compiler, fall back on heap-allocated memory
109109
char * msg_buf = new char[msg_buf_size];
110110
#else
111-
char msg_buf[msg_buf_size] = {0};
111+
char msg_buf[msg_buf_size];
112112
#endif
113113

114114
vsnprintf(msg_buf, msg_buf_size, fmt, args);

0 commit comments

Comments
 (0)