summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-03-23 18:10:28 +0100
committerVolker Lendecke <vl@samba.org>2008-03-23 18:28:24 +0100
commitfac2d8546bea0ce9d6d68f37eaf6ed7c21577841 (patch)
treeb92e84866a5b059b4b39fbc9a33b9086d4e9c13d /source3
parent3d28e7533f4513643762de5768f44b63033bca27 (diff)
downloadsamba-fac2d8546bea0ce9d6d68f37eaf6ed7c21577841.tar.gz
samba-fac2d8546bea0ce9d6d68f37eaf6ed7c21577841.tar.bz2
samba-fac2d8546bea0ce9d6d68f37eaf6ed7c21577841.zip
Fix Coverity ID 471
(This used to be commit d3b6df67fea0da5ffa962837400ebe07b34a5384)
Diffstat (limited to 'source3')
-rw-r--r--source3/registry/regfio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/regfio.c b/source3/registry/regfio.c
index 9eb2c58298..b6e822955c 100644
--- a/source3/registry/regfio.c
+++ b/source3/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;