summaryrefslogtreecommitdiff
path: root/app/dynstring/dynstring.c
diff options
context:
space:
mode:
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)) {