Commit 2e52ba36 authored by Wayne Davison's avatar Wayne Davison

Added braces to an empty "if" (to avoid any complaints from a compiler

that likes to point out an "if (...)" with a semicolon after it).
parent fd78520d
...@@ -401,9 +401,9 @@ int set_file_attrs(const char *fname, struct file_struct *file, stat_x *sxp, ...@@ -401,9 +401,9 @@ int set_file_attrs(const char *fname, struct file_struct *file, stat_x *sxp,
change_gid = gid_ndx && !(file->flags & FLAG_SKIP_GROUP) change_gid = gid_ndx && !(file->flags & FLAG_SKIP_GROUP)
&& sxp->st.st_gid != (gid_t)F_GROUP(file); && sxp->st.st_gid != (gid_t)F_GROUP(file);
#if !defined HAVE_LCHOWN && !defined CHOWN_MODIFIES_SYMLINK #if !defined HAVE_LCHOWN && !defined CHOWN_MODIFIES_SYMLINK
if (S_ISLNK(sxp->st.st_mode)) if (S_ISLNK(sxp->st.st_mode)) {
; ;
else } else
#endif #endif
if (change_uid || change_gid) { if (change_uid || change_gid) {
if (verbose > 2) { if (verbose > 2) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment