File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 6
6
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
7
7
* Portions Copyright (c) 1994, Regents of the University of California
8
8
*
9
- * $Id: user.c,v 1.49 2000/01/26 05:56:13 momjian Exp $
9
+ * $Id: user.c,v 1.50 2000/02/15 18:17:33 tgl Exp $
10
10
*
11
11
*-------------------------------------------------------------------------
12
12
*/
@@ -855,6 +855,7 @@ AlterGroup(AlterGroupStmt *stmt, const char * tag)
855
855
foreach (item , stmt -> listUsers )
856
856
{
857
857
Value * v ;
858
+
858
859
if (strcmp (tag , "ALTER GROUP" )== 0 )
859
860
{
860
861
/* Get the uid of the proposed user to add. */
@@ -875,7 +876,10 @@ AlterGroup(AlterGroupStmt *stmt, const char * tag)
875
876
v = lfirst (item );
876
877
}
877
878
else
879
+ {
878
880
elog (ERROR , "AlterGroup: unknown tag %s" , tag );
881
+ v = NULL ; /* keep compiler quiet */
882
+ }
879
883
880
884
if (!member (v , newlist ))
881
885
newlist = lcons (v , newlist );
You can’t perform that action at this time.
0 commit comments