diff options
author | Volker Lendecke <vl@samba.org> | 2012-06-20 08:40:22 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-06-20 10:51:14 +0200 |
commit | 7c0f12573ff24fe44f917b2374611942bf531117 (patch) | |
tree | 7f2f3445f33952b213460916cdbdc0d60ada58da /source3/winbindd | |
parent | f0072d32b62e99890e6dbe371593601be443c007 (diff) | |
download | samba-7c0f12573ff24fe44f917b2374611942bf531117.tar.gz samba-7c0f12573ff24fe44f917b2374611942bf531117.tar.bz2 samba-7c0f12573ff24fe44f917b2374611942bf531117.zip |
idmap-hash: Fix Coverity ID 709119 Unused pointer value
"p" is overwritten further down again before it's first use
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/idmap_hash/mapfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/idmap_hash/mapfile.c b/source3/winbindd/idmap_hash/mapfile.c index 075f0f25cc..b1f2e6eb5c 100644 --- a/source3/winbindd/idmap_hash/mapfile.c +++ b/source3/winbindd/idmap_hash/mapfile.c @@ -67,7 +67,7 @@ static bool mapfile_read_line(fstring key, fstring value) if (!lw_map_file) return false; - if ((p = x_fgets(buffer, sizeof(buffer)-1, lw_map_file)) == NULL) { + if (x_fgets(buffer, sizeof(buffer)-1, lw_map_file) == NULL) { return false; } |