mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-28 23:21:58 +00:00
Update i_system.c
remove unused size_t size remove unused void *array[BT_SIZE];
This commit is contained in:
parent
5e2311c48d
commit
eae89efbb9
1 changed files with 0 additions and 6 deletions
|
@ -288,18 +288,12 @@ static void bt_write_all(int fd, const char *string) {
|
|||
static void write_backtrace(INT32 signal)
|
||||
{
|
||||
int fd = -1;
|
||||
#ifndef NOEXECINFO
|
||||
size_t size;
|
||||
#endif
|
||||
time_t rawtime;
|
||||
struct tm timeinfo;
|
||||
size_t bt_size;
|
||||
|
||||
enum { BT_SIZE = 1024, STR_SIZE = 32 };
|
||||
void *funcptrs[BT_SIZE];
|
||||
#ifndef NOEXECINFO
|
||||
void *array[BT_SIZE];
|
||||
#endif
|
||||
char timestr[STR_SIZE];
|
||||
|
||||
const char *filename = va("%s" PATHSEP "%s", srb2home, "crash-log.txt");
|
||||
|
|
Loading…
Reference in a new issue