diff options
Diffstat (limited to 'libssh/string.c')
-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 25743688..26d1309c 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; |