From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26610 invoked by alias); 29 Nov 2010 12:43:50 -0000 Received: (qmail 26593 invoked by uid 9737); 29 Nov 2010 12:43:50 -0000 Date: Mon, 29 Nov 2010 12:43:00 -0000 Message-ID: <20101129124350.26591.qmail@sourceware.org> From: zkabelac@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/libdm/regex matcher.c Mailing-List: contact lvm2-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: lvm2-cvs-owner@sourceware.org X-SW-Source: 2010-11/txt/msg00070.txt.bz2 CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: zkabelac@sourceware.org 2010-11-29 12:43:49 Modified files: libdm/regex : matcher.c Log message: Remove dead assignment in _step_matcher 'ns' is not used after this assignment and it is reassigned with the following code, so dropping this assignment. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/libdm/regex/matcher.c.diff?cvsroot=lvm2&r1=1.13&r2=1.14 --- LVM2/libdm/regex/matcher.c 2010/09/30 21:06:52 1.13 +++ LVM2/libdm/regex/matcher.c 2010/11/29 12:43:49 1.14 @@ -372,7 +372,7 @@ { struct dfa_state *ns; - if (!(ns = cs->lookup[(unsigned char) c])) + if (!cs->lookup[(unsigned char) c]) _calc_state(m, cs, (unsigned char) c); if (!(ns = cs->lookup[(unsigned char) c]))