Fix a potential use of an uninitialized variable.
authorEvan Broder <broder@mit.edu>
Wed, 18 Mar 2009 18:16:35 +0000 (14:16 -0400)
committerEvan Broder <broder@mit.edu>
Wed, 18 Mar 2009 18:16:46 +0000 (14:16 -0400)
Signed-off-by: Evan Broder <broder@mit.edu>

afs/_pts.pyx

index c18ef0f..56292cd 100644 (file)
@@ -226,7 +226,7 @@ cdef class PTS:
         """
         cdef namelist lnames
         cdef idlist lids
-        cdef afs_int32 code, id
+        cdef afs_int32 code, id = ANONYMOUSID
         name = name.lower()
 
         lids.idlist_len = 0