summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/idmap_hash/mapfile.c2
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;
}