From: Dale Weiler Date: Wed, 14 Jan 2015 01:25:44 +0000 (-0500) Subject: Remove stat_info calls X-Git-Tag: xonotic-v0.8.2~73 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=893f204b30affbb4407fcddb16576156a648eac6 Remove stat_info calls --- diff --git a/gmqcc.h b/gmqcc.h index 9f42467..e609257 100644 --- a/gmqcc.h +++ b/gmqcc.h @@ -179,7 +179,6 @@ GMQCC_IND_STRING(GMQCC_VERSION_PATCH) \ #define GMQCC_ARRAY_COUNT(X) (sizeof(X) / sizeof((X)[0])) /* stat.c */ -void stat_info(void); char *stat_mem_strdup(const char *, bool); #define mem_a(SIZE) malloc(SIZE) diff --git a/main.c b/main.c index db8aed0..41828c7 100644 --- a/main.c +++ b/main.c @@ -791,7 +791,6 @@ cleanup: mem_d((void*)operators); lex_cleanup(); - stat_info(); if (!retval && compile_errors) retval = 1; diff --git a/stat.c b/stat.c index d5cbe3e..3643dfc 100644 --- a/stat.c +++ b/stat.c @@ -270,7 +270,3 @@ void util_htrm(hash_table_t *ht, const char *key, void (*cb)(void*)) { void util_htdel(hash_table_t *ht) { util_htrem(ht, NULL); } - -void stat_info() { -} -#undef ST_SIZE diff --git a/test.c b/test.c index 4ffba6f..a096910 100644 --- a/test.c +++ b/test.c @@ -1408,7 +1408,6 @@ int main(int argc, char **argv) { } con_change(redirout, redirerr); succeed = test_perform("tests", defs); - stat_info(); return (succeed) ? EXIT_SUCCESS : EXIT_FAILURE; }