diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-12-16 01:50:01 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-12-16 01:50:01 -0500 |
commit | dad58115251f3d838006dbd86773d02fc8dddc00 (patch) | |
tree | f201d8050efe67772d87b428020d0742a4c3f8f5 /nslcd/hackers_parse.h | |
parent | a4c5e4e58f757e4125a4e80d7b914d0f8167b6ef (diff) |
Get -pedantic
Diffstat (limited to 'nslcd/hackers_parse.h')
-rw-r--r-- | nslcd/hackers_parse.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nslcd/hackers_parse.h b/nslcd/hackers_parse.h index e1df21d..1a092f6 100644 --- a/nslcd/hackers_parse.h +++ b/nslcd/hackers_parse.h @@ -9,14 +9,14 @@ /* Free+zero a 'struct passwd' */ #define PASSWD_FREE(user) \ - ({ \ + (__extension__ ({ \ free((user).pw_name); \ free((user).pw_passwd); \ free((user).pw_gecos); \ free((user).pw_dir); \ free((user).pw_shell); \ ZERO(user); \ - }) + })) /** Returns 0 on error, or the UID on success. Only handles "normal * user" UIDs; that is in the range [1000,9999]. */ |