commit b235ad5de664deda8bcce9efe3083f81c643774c from: Mark Jamsek via: Thomas Adam date: Thu Jun 23 14:09:34 2022 UTC missed style(9) fixes in previous commit ok tb@ commit - 7c7a66bd979832cee8429180b46a5179e2cd8b66 commit + b235ad5de664deda8bcce9efe3083f81c643774c blob - 4f087d68637fa1841d7e7bedb7c5e2c6b3f5ad99 blob + 09dc44b2f4c8adcf13aeac0b8b931b86106498e4 --- tog/tog.c +++ tog/tog.c @@ -1248,7 +1248,9 @@ expand_tab(char **ptr, const char *src) if (c == '\t') { size_t nb = TABSIZE - sz % TABSIZE; - char *p = realloc(dst, n + nb); + char *p; + + p = realloc(dst, n + nb); if (p == NULL) { free(dst); return got_error_from_errno("realloc");