* extra/msvc_dbg.c (GetDescriptionFromAddress): Cast format argument
to void.
* extra/msvc_dbg.c (GetDescriptionFromStack): Pass format argument to
GetDescriptionFromAddress (instead of NULL).
char*const end = buffer + size;
size_t line_number = 0;
+ (void)format;
if (size) {
*buffer = 0;
}
const GC_ULONG_PTR end = begin + size;
GC_ULONG_PTR buffer = begin + (count + 1) * sizeof(char*);
size_t i;
- (void)format;
+
for (i = 0; i < count; ++i) {
if (description)
description[i] = (char*)buffer;
- buffer += 1 + GetDescriptionFromAddress(frames[i], NULL, (char*)buffer,
+ buffer += 1 + GetDescriptionFromAddress(frames[i], format, (char*)buffer,
end < buffer ? 0 : end - buffer);
}
if (description)