--- parser3/src/include/pa_memory.h 2003/04/10 11:35:10 1.1.2.9.2.19 +++ parser3/src/include/pa_memory.h 2003/07/24 11:31:21 1.2 @@ -9,7 +9,7 @@ #ifndef PA_MEMORY_H #define PA_MEMORY_H -static const char* IDENT_MEMORY_H="$Date: 2003/04/10 11:35:10 $"; +static const char* IDENT_MEMORY_H="$Date: 2003/07/24 11:31:21 $"; // include @@ -73,8 +73,6 @@ inline void *pa_malloc_atomic(size_t siz /// @a length may be null, which mean "autocalc it" inline char *pa_strdup(const char* auto_variable_never_null, size_t helper_length=0) { size_t known_length=(helper_length?helper_length:strlen(auto_variable_never_null)); - if(!known_length) - return ""; size_t size=known_length+1; if(char *result=static_cast(PA_GC_MALLOC_ATOMIC(size))) {