diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-07-03 10:19:49 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-07-03 10:19:49 +0200 |
commit | 8dc8048d2cd4996825470bbfcb1e09e2a2630035 (patch) | |
tree | 9804282102f8c40d27407b9c94119b35eeb5013c /app/dynstring/dynstring.c | |
parent | c9d0740841fbe0539e42e66d3865672bfcd3ac02 (diff) | |
parent | b6bd52cd7330a90fc0e44dbe6022551a8dd768a1 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'app/dynstring/dynstring.c')
-rw-r--r-- | app/dynstring/dynstring.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/app/dynstring/dynstring.c b/app/dynstring/dynstring.c index fd50a0b..ab30f5f 100644 --- a/app/dynstring/dynstring.c +++ b/app/dynstring/dynstring.c @@ -2,9 +2,6 @@ * Library for dynamic string functions */ -#ifdef HAVE_MALLOC_H -#include <malloc.h> -#endif #include <stdarg.h> #include <memory.h> #include <string.h> @@ -240,7 +237,7 @@ void DynStringFree(DynString *s) /* Create a new string as a copy of an old one */ DynString *DynStringDupStr(DynString *s2, DynString *s) { - DynString nas = NaS; +// DynString nas = NaS; /* Not a string? */ if (isnas(s)) { @@ -445,7 +442,7 @@ void DynStringPrintf(DynString *s, const char *fmt, ...) { va_list v; size_t len; - DynString nas = NaS; +// DynString nas = NaS; /* Are we not a string? */ if (isnas(s)) { |