From: William Morgan Date: Wed, 26 Nov 2008 23:23:38 +0000 (-0800) Subject: minor cleanups X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=cf8bbb9e48622c7685364a5f9d4d1da05709afca;p=sup minor cleanups --- 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.