X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/75b6e26f5ee1d313ba0d5b835e287f06b9770559..e68def51cb753d730249565e630b549a73857ec1:/src/src/string.c diff --git a/src/src/string.c b/src/src/string.c index 9f1aeb81d..4ef2fee62 100644 --- a/src/src/string.c +++ b/src/src/string.c @@ -12,7 +12,6 @@ utilities and tests, and are cut out by the COMPILE_UTILITY macro. */ #include "exim.h" #include -static void gstring_rebuffer(gstring * g); #ifndef COMPILE_UTILITY /************************************************* @@ -1243,16 +1242,6 @@ return !!gp; -/* Copy the content of a string to tainted memory */ -static void -gstring_rebuffer(gstring * g) -{ -uschar * s = store_get(g->size, TRUE); -memcpy(s, g->s, g->ptr); -g->s = s; -} - - /* Build or append to a growing-string, sprintf-style.