~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_knit_load_data_c.pyx

  • Committer: John Arbash Meinel
  • Date: 2007-06-29 16:31:15 UTC
  • mto: This revision was merged to the branch mainline in revision 2614.
  • Revision ID: john@arbash-meinel.com-20070629163115-f8f8032mkj6ntu0s
Remove the parent_str==NULL check since the caller is already being safe.

Show diffs side-by-side

added added

removed removed

Lines of Context:
160
160
        # return real_parents
161
161
 
162
162
        parents = []
163
 
        if parent_str == NULL:
164
 
            return []
165
163
        while parent_str <= end:
166
164
            next = <char*>memchr(parent_str, c' ', end - parent_str)
167
165
            if next == NULL or next >= end or next == parent_str: