diff options
-rw-r--r-- | libssh/string.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libssh/string.c b/libssh/string.c index 2574368..26d1309 100644 --- a/libssh/string.c +++ b/libssh/string.c @@ -42,9 +42,6 @@ struct string_struct *string_new(size_t size) { struct string_struct *str = NULL; - if (size == 0) { - return NULL; - } str = malloc(size + 4); if (str == NULL) { return NULL; |