Rev 2504: Remove the parent_str==NULL check since the caller is already being safe. in http://bzr.arbash-meinel.com/branches/bzr/0.17-dev/knit_index_pyrex
John Arbash Meinel
john at arbash-meinel.com
Fri Jun 29 17:31:26 BST 2007
At http://bzr.arbash-meinel.com/branches/bzr/0.17-dev/knit_index_pyrex
------------------------------------------------------------
revno: 2504
revision-id: john at arbash-meinel.com-20070629163115-f8f8032mkj6ntu0s
parent: john at arbash-meinel.com-20070629161646-ufelk4s0m1ig5md8
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: knit_index_pyrex
timestamp: Fri 2007-06-29 11:31:15 -0500
message:
Remove the parent_str==NULL check since the caller is already being safe.
modified:
bzrlib/_knit_load_data_c.pyx knit_c.pyx-20070509143944-u42gy8w387a10m0j-1
-------------- next part --------------
=== modified file 'bzrlib/_knit_load_data_c.pyx'
--- a/bzrlib/_knit_load_data_c.pyx 2007-06-29 16:00:06 +0000
+++ b/bzrlib/_knit_load_data_c.pyx 2007-06-29 16:31:15 +0000
@@ -160,8 +160,6 @@
# return real_parents
parents = []
- if parent_str == NULL:
- return []
while parent_str <= end:
next = <char*>memchr(parent_str, c' ', end - parent_str)
if next == NULL or next >= end or next == parent_str:
More information about the bazaar-commits
mailing list