From cf8bbb9e48622c7685364a5f9d4d1da05709afca Mon Sep 17 00:00:00 2001 From: William Morgan Date: Wed, 26 Nov 2008 15:23:38 -0800 Subject: [PATCH] minor cleanups --- bin/sup-sync | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/bin/sup-sync b/bin/sup-sync index f9624e8..5437f9c 100644 --- 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. -- 2.45.2