* elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
authorteranisi <teranisi>
Fri, 18 Oct 2002 00:10:31 +0000 (00:10 +0000)
committerteranisi <teranisi>
Fri, 18 Oct 2002 00:10:31 +0000 (00:10 +0000)
elmo/ChangeLog
elmo/elmo.el

index 7a3bb1d..9142f45 100644 (file)
@@ -1,3 +1,7 @@
+2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
+
+       * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
+
 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
 
        * elmo-filter.el (elmo-folder-diff): Fixed condition checking
index 792a581..f729de6 100644 (file)
@@ -952,14 +952,11 @@ Return a cons cell of (NUMBER-CROSSPOSTS . NEW-MARK-ALIST).")
                                  0))
              (elmo-folder-set-info-hashtb folder in-db-max nil))
          (setq in-db-max cached-in-db-max)))
-      (setq unsync (if (and in-db
-                           (car in-folder))
+      (setq unsync (if (and in-db (car in-folder))
                       (- (car in-folder) in-db-max)
-                    (if (and in-folder
-                             (null in-db))
+                    (if (and in-folder (null in-db))
                         (cdr in-folder)
-                      (if (null (car in-folder))
-                          nil))))
+                      (car in-folder))))
       (setq messages (cdr in-folder))
       (if (and unsync messages (> unsync messages))
          (setq unsync messages))