summaryrefslogtreecommitdiff
path: root/app/dynstring/dynstring.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2024-07-03 10:19:49 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2024-07-03 10:19:49 +0200
commit8dc8048d2cd4996825470bbfcb1e09e2a2630035 (patch)
tree9804282102f8c40d27407b9c94119b35eeb5013c /app/dynstring/dynstring.c
parentc9d0740841fbe0539e42e66d3865672bfcd3ac02 (diff)
parentb6bd52cd7330a90fc0e44dbe6022551a8dd768a1 (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'app/dynstring/dynstring.c')
-rw-r--r--app/dynstring/dynstring.c7
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)) {