From: Fabian Keil Date: Sat, 30 Jul 2011 15:12:55 +0000 (+0000) Subject: Remove a useless NULL pointer check in load_trustfile() X-Git-Tag: v_3_0_18~149 X-Git-Url: http://www.privoxy.org/gitweb/show-status?a=commitdiff_plain;h=65e9f20e0b5c72c14f75c4a46f6f5187253dcd84;p=privoxy.git Remove a useless NULL pointer check in load_trustfile() --- diff --git a/loaders.c b/loaders.c index 92d793c7..ed613cc4 100644 --- a/loaders.c +++ b/loaders.c @@ -1,4 +1,4 @@ -const char loaders_rcs[] = "$Id: loaders.c,v 1.82 2011/04/19 13:00:47 fabiankeil Exp $"; +const char loaders_rcs[] = "$Id: loaders.c,v 1.83 2011/07/30 15:12:42 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/loaders.c,v $ @@ -955,11 +955,8 @@ int load_trustfile(struct client_state *csp) fs->next = files->next; files->next = fs; current_trustfile = fs; + csp->tlist = fs; - if (csp) - { - csp->tlist = fs; - } return(0); load_trustfile_error: