diff options
author | Matt Burke <spraints@gmail.com> | 2015-09-24 09:13:05 -0400 |
---|---|---|
committer | Matt Burke <spraints@gmail.com> | 2015-09-24 09:13:05 -0400 |
commit | 63cc57232cebab60ad193731582e24e83ea5b3b9 (patch) | |
tree | a468d37cfeb7e2fd7472c49d5d184349525228bf /src/transports | |
parent | 098f1e6e2506b3ca6376617751f877bee6fb5d20 (diff) | |
download | libgit2-63cc57232cebab60ad193731582e24e83ea5b3b9.tar.gz |
Don't null-check
Diffstat (limited to 'src/transports')
-rw-r--r-- | src/transports/smart.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/transports/smart.c b/src/transports/smart.c index 1ff39b48e..fc7630c49 100644 --- a/src/transports/smart.c +++ b/src/transports/smart.c @@ -81,9 +81,6 @@ bool is_valid_custom_header(const char *custom_header) int name_len; unsigned long i; - if (custom_header == NULL) - return true; - // Disallow \r and \n c = strchr(custom_header, '\r'); if (c != NULL) |