From: Fabian Keil Date: Mon, 26 Jun 2017 12:18:06 +0000 (+0000) Subject: Remove an obsolete NULL check X-Git-Tag: v_3_0_27~101 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=023287ed8cb2d791ab0f3205538714611c05a386;hp=8abd1cc33f1b39e5618ecc883024de0ef6aa9c09 Remove an obsolete NULL check --- diff --git a/loaders.c b/loaders.c index 16529e0f..9ec017ce 100644 --- a/loaders.c +++ b/loaders.c @@ -1,4 +1,4 @@ -const char loaders_rcs[] = "$Id: loaders.c,v 1.107 2017/06/26 12:17:43 fabiankeil Exp $"; +const char loaders_rcs[] = "$Id: loaders.c,v 1.108 2017/06/26 12:17:57 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/loaders.c,v $ @@ -313,12 +313,6 @@ int check_file_changed(const struct file_list * current, fs->filename = strdup_or_die(filename); fs->lastmodified = statbuf->st_mtime; - if (fs->filename == NULL) - { - /* Out of memory error */ - freez (fs); - return 1; - } *newfl = fs; return 1; }