sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit cf8bbb9e48622c7685364a5f9d4d1da05709afca
parent 84e74413f155bcf2bc4d1fb95945cd5d591c4410
Author: William Morgan <wmorgan-sup@masanjin.net>
Date:   Wed, 26 Nov 2008 15:23:38 -0800

minor cleanups

Diffstat:
M bin/sup-sync | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/bin/sup-sync b/bin/sup-sync
@@ -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.