gsskrb5: Remove dead code in split_attr()
This commit is contained in:
		| @@ -120,7 +120,7 @@ split_attr(gss_const_buffer_t orig, | |||||||
|     /* FIXME We don't have a memrchr() in lib/roken */ |     /* FIXME We don't have a memrchr() in lib/roken */ | ||||||
|     for (p = memchr(p, ' ', orig->length); |     for (p = memchr(p, ' ', orig->length); | ||||||
|          p; |          p; | ||||||
|          p = p ? memchr(p + 1, ' ', orig->length) : NULL) { |          p = memchr(p + 1, ' ', orig->length)) { | ||||||
|         last = p; |         last = p; | ||||||
|         prefix->length = last - (const char *)orig->value; |         prefix->length = last - (const char *)orig->value; | ||||||
|         attr->value = last + 1; |         attr->value = last + 1; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Nicolas Williams
					Nicolas Williams