Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3535cb8

Browse files
committed
Code cleanup.
1 parent 95cbfb5 commit 3535cb8

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/backend/libpq/hba.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/libpq/hba.c,v 1.144 2005/06/28 22:16:45 tgl Exp $
13+
* $PostgreSQL: pgsql/src/backend/libpq/hba.c,v 1.145 2005/07/28 15:30:55 momjian Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -959,13 +959,10 @@ load_role(void)
959959
int i = 0;
960960
ListCell *line;
961961

962+
/* We assume the flat file was written already-sorted */
962963
role_sorted = palloc(role_length * sizeof(List *));
963964
foreach(line, role_lines)
964-
{
965965
role_sorted[i++] = lfirst(line);
966-
}
967-
968-
/* We assume the flat file was written already-sorted */
969966
}
970967
}
971968

0 commit comments

Comments
 (0)