don't set unused variables
authorLove Hörnquist Åstrand <lha@kth.se>
Fri, 27 Feb 2009 03:33:47 +0000 (03:33 +0000)
committerLove Hörnquist Åstrand <lha@kth.se>
Fri, 27 Feb 2009 03:33:47 +0000 (03:33 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24871 ec53bebd-3082-4978-b11e-865c3cabbd6b

admin/list.c

index 72eccfc2a1aa113244b8a6f389a1faa44c250b3f..1dec14627b697a4c509c14af917c4b4eed3dda1a 100644 (file)
@@ -88,7 +88,7 @@ do_list(struct list_options *opt, const char *keytab_str)
     rtbl_add_column_by_id(table, 5, "Aliases", 0);
     rtbl_set_separator(table, "  ");
 
-    while((ret = krb5_kt_next_entry(context, keytab, &entry, &cursor)) == 0){
+    while(krb5_kt_next_entry(context, keytab, &entry, &cursor) == 0){
        char buf[1024], *s;
 
        snprintf(buf, sizeof(buf), "%d", entry.vno);