[evolution-data-server] CamelMaildirSummary: Fix dead nested assignments.



commit e4e022e31f84423fa6243358b3f279274b2c5362
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sun Jan 30 17:43:59 2011 -0500

    CamelMaildirSummary: Fix dead nested assignments.

 camel/providers/local/camel-maildir-summary.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/camel/providers/local/camel-maildir-summary.c b/camel/providers/local/camel-maildir-summary.c
index 7ad3e24..9f324ea 100644
--- a/camel/providers/local/camel-maildir-summary.c
+++ b/camel/providers/local/camel-maildir-summary.c
@@ -586,7 +586,7 @@ maildir_summary_check (CamelLocalSummary *cls,
 	/* joy, use this to pre-count the total, so we can report progress meaningfully */
 	total = 0;
 	count = 0;
-	while ((d = readdir (dir)))
+	while (readdir (dir))
 		total++;
 	rewinddir (dir);
 
@@ -653,7 +653,7 @@ maildir_summary_check (CamelLocalSummary *cls,
 	if (dir != NULL) {
 		total = 0;
 		count = 0;
-		while ((d = readdir (dir)))
+		while (readdir (dir))
 			total++;
 		rewinddir (dir);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]