[dovecot-cvs] dovecot/src/lib-imap imap-parser.c,1.48,1.49

cras at dovecot.org cras at dovecot.org
Fri Apr 8 15:04:58 EEST 2005


Update of /var/lib/cvs/dovecot/src/lib-imap
In directory talvi:/tmp/cvs-serv21970

Modified Files:
	imap-parser.c 
Log Message:
Removed element_count variable, it's not used anymore.



Index: imap-parser.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-imap/imap-parser.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- imap-parser.c	28 Sep 2004 10:55:36 -0000	1.48
+++ imap-parser.c	8 Apr 2005 12:04:55 -0000	1.49
@@ -36,7 +36,6 @@
 	struct imap_arg_list *root_list;
         struct imap_arg_list *cur_list;
 	struct imap_arg *list_arg;
-	size_t element_count;
 
 	enum arg_parse_type cur_type;
 	size_t cur_pos; /* parser position in input buffer */
@@ -102,7 +101,6 @@
 	parser->root_list = NULL;
 	parser->cur_list = NULL;
 	parser->list_arg = NULL;
-	parser->element_count = 0;
 
 	parser->cur_type = ARG_PARSE_NONE;
 	parser->cur_pos = 0;
@@ -158,7 +156,6 @@
 	arg = &parser->cur_list->args[parser->cur_list->size];
 	arg->parent = parser->list_arg;
 	parser->cur_list->size++;
-	parser->element_count++;
 
 	return arg;
 }



More information about the dovecot-cvs mailing list