From 94b88f2d5fb154b50a4f9f43a05fd5c765fcb4bb Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Tue, 19 May 2009 17:44:22 +0000 Subject: [PATCH] Fix clang warning: Value stored to 'hits' is never read. --- pcrs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcrs.c b/pcrs.c index 9b2cfb9a..2e044520 100644 --- a/pcrs.c +++ b/pcrs.c @@ -1,4 +1,4 @@ -const char pcrs_rcs[] = "$Id: pcrs.c,v 1.30 2009/05/16 13:27:20 fabiankeil Exp $"; +const char pcrs_rcs[] = "$Id: pcrs.c,v 1.31 2009/05/19 17:42:32 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/pcrs.c,v $ @@ -682,7 +682,7 @@ int pcrs_execute_list(pcrs_job *joblist, char *subject, size_t subject_length, c old = subject; *result_length = subject_length; - hits = total_hits = 0; + total_hits = 0; for (job = joblist; job != NULL; job = job->next) { -- 2.49.0