]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
auth: fix uninitialized variable
authorYehuda Sadeh <yehuda@hq.newdream.net>
Fri, 20 Mar 2009 21:19:27 +0000 (14:19 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Fri, 20 Mar 2009 21:19:27 +0000 (14:19 -0700)
src/auth/ExportControl.cc

index 366399512b893264c96b817bccd2fbf39b718d74..1f05d0290ee7513dd67f98ee21708afa9c39ad9f 100644 (file)
@@ -277,7 +277,7 @@ GroupEntry *GroupEntry::get_properties(entity_addr_t *addr)
 GroupEntry *GroupsManager::get_group(const char *name)
 {
        map<const char *, GroupEntry *, ltstr>::iterator iter;
-       GroupEntry *group, *orig_group;
+       GroupEntry *group = NULL, *orig_group;
        char *tmp = strdup(name);
        char *orig_tmp = tmp;
        char *group_name;