diff --git a/XAlloc.c b/XAlloc.c index 34a444f2fbb5d853a43ec3b693feb41b846a61b6..010d761d7b75ff5d2131d6c3b8785836fcc28f1a 100644 --- a/XAlloc.c +++ b/XAlloc.c @@ -44,9 +44,6 @@ void* xRealloc(void* ptr, size_t size) { } char* xStrdup(const char* str) { - if (!str) { - fail(); - } char* data = strdup(str); if (!data) { fail();