From: Volker Lendecke Date: Sun, 23 Mar 2008 17:10:28 +0000 (+0100) Subject: Fix Coverity ID 471 X-Git-Tag: samba-3.3.0pre1~3142 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d3b6df67fea0da5ffa962837400ebe07b34a5384;p=thirdparty%2Fsamba.git Fix Coverity ID 471 --- diff --git a/source/registry/regfio.c b/source/registry/regfio.c index 9eb2c582987..b6e822955c5 100644 --- a/source/registry/regfio.c +++ b/source/registry/regfio.c @@ -1277,7 +1277,7 @@ static void regfio_mem_free( REGF_FILE *file ) /* nothing tdo do if there is no open file */ - if ( !file || (file->fd == -1) ) + if (file->fd == -1) return 0; fd = file->fd;