From 61cfc3b50dacb517a0512bb9dbfdc482dd6dc0ee Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 23 Mar 2008 18:10:28 +0100 Subject: [PATCH] Fix Coverity ID 471 (cherry picked from commit d3b6df67fea0da5ffa962837400ebe07b34a5384) --- source/registry/regfio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.4.GIT