]> git.cworth.org Git - sup/commitdiff
minor cleanups
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Wed, 26 Nov 2008 23:23:38 +0000 (15:23 -0800)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Wed, 26 Nov 2008 23:23:38 +0000 (15:23 -0800)
bin/sup-sync

index f9624e86003799a3cb4025e091363b7047974f62..5437f9caa23bf41ce8989a249eabeda68f0b8b4b 100644 (file)
@@ -143,12 +143,7 @@ begin
       next if target == :changed && entry && entry[:source_id].to_i == source.id && entry[:source_info].to_i == offset
 
       ## get the state currently in the index
-      index_state =
-        if entry
-          entry[:label].split(/\s+/).map { |x| x.intern }
-        else
-          nil
-        end
+      index_state = entry[:label].split(/\s+/).map { |x| x.intern } if entry
 
       ## skip if we're operating on restored messages, and this one
       ## ain't.