From: Dale Weiler Date: Tue, 8 Apr 2014 09:06:16 +0000 (-0400) Subject: Fix style X-Git-Tag: xonotic-v0.8.1~9^2~35 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0d1a740bc71fee53892fb192215e9e318d0da5ac;p=xonotic%2Fgmqcc.git Fix style --- diff --git a/ftepp.c b/ftepp.c index b974f4f..8f45275 100644 --- a/ftepp.c +++ b/ftepp.c @@ -837,7 +837,7 @@ static bool ftepp_macro_expand(ftepp_t *ftepp, ppmacro *macro, macroparam *param macro_params_find(macro, macro->output[o+1]->value, &pi)) { ++o; - + ftepp_stringify(ftepp, ¶ms[pi]); break; } diff --git a/stat.c b/stat.c index bf92c98..650bccd 100644 --- a/stat.c +++ b/stat.c @@ -141,7 +141,7 @@ void *stat_mem_allocate(size_t size, size_t line, const char *file, const char * info->expr = expr; info->prev = NULL; info->next = stat_mem_block_root; - + /* Write identifier */ memcpy(info + 1, IDENT_MEM, IDENT_SIZE); @@ -167,7 +167,7 @@ void *stat_mem_allocate(size_t size, size_t line, const char *file, const char * void stat_mem_deallocate(void *ptr, size_t line, const char *file) { stat_mem_block_t *info = NULL; char *ident = (char *)ptr - IDENT_SIZE; - + if (GMQCC_UNLIKELY(!ptr)) return; @@ -176,7 +176,7 @@ void stat_mem_deallocate(void *ptr, size_t line, const char *file) { if (!strcmp(ident, IDENT_VEC)) { vector_t *vec = (vector_t*)((char *)ptr - IDENT_VEC_TOP); stat_mem_block_t *block = (stat_mem_block_t*)((char *)vec - IDENT_MEM_TOP); - + VALGRIND_MAKE_MEM_DEFINED(block, sizeof(stat_mem_block_t)); con_err("internal warning: invalid use of mem_d:\n"); con_err("internal warning: vector (used elements: %u, allocated elements: %u)\n",