From 75ef6c81b5d2ec10ce8fed9e63805a24151fef13 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Tue, 19 May 2009 17:46:24 +0000 Subject: [PATCH] Fix clang warning: Value stored to 'err' is never read. We don't need to check the return value because we're detecting errors with the (NULL == filename) check. --- cgiedit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cgiedit.c b/cgiedit.c index 49d9ee06..3ab55b58 100644 --- a/cgiedit.c +++ b/cgiedit.c @@ -1,4 +1,4 @@ -const char cgiedit_rcs[] = "$Id: cgiedit.c,v 1.65 2009/03/08 14:19:22 fabiankeil Exp $"; +const char cgiedit_rcs[] = "$Id: cgiedit.c,v 1.66 2009/05/16 13:27:20 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/cgiedit.c,v $ @@ -1588,7 +1588,7 @@ jb_err edit_read_file(struct client_state *csp, * Probably an old-school URL like * http://config.privoxy.org/edit-actions-list?f=default */ - err = get_file_name_param(csp, parameters, "f", &filename); + get_file_name_param(csp, parameters, "f", &filename); } if (NULL == filename || stat(filename, statbuf) < 0) -- 2.49.0