diff --git a/mhl/string.h b/mhl/string.h index 9bb48b7fa..e3c7d2f26 100644 --- a/mhl/string.h +++ b/mhl/string.h @@ -3,7 +3,7 @@ #include #include -#include <../mhl/memory.h> +#include #define mhl_str_dup(str) ((str ? strdup(str) : strdup(""))) #define mhl_str_ndup(str,len) ((str ? strndup(str,len) : strdup(""))) @@ -60,9 +60,6 @@ static inline char* __mhl_str_concat_hlp(const char* base, ...) int count = 0; size_t totalsize = 0; - // first pass: scan through the params and count string sizes - //va_list par; - if (base) { arg_ptr[0] = base;