Avoid spurious warning about "code" var not being initialized.
[rsync.git] / syscall.c
index 58a8e81514a703963fed5b577d0ba334452ae425..80a9a2f6e2e3b6bf6690b1c7511b5443cc67d804 100644 (file)
--- a/syscall.c
+++ b/syscall.c
@@ -237,7 +237,7 @@ int do_chmod(const char *path, mode_t mode)
        RETURN_ERROR_IF_RO_OR_LO;
        switch (switch_step) {
 #ifdef HAVE_LCHMOD
-#include "case_N.h"
+       case 0:
                if ((code = lchmod(path, mode & CHMOD_BITS)) == 0)
                        break;
                if (errno == ENOSYS)
@@ -246,7 +246,7 @@ int do_chmod(const char *path, mode_t mode)
                        break;
 #endif
 
-#include "case_N.h"
+       default:
                if (S_ISLNK(mode)) {
 # if defined HAVE_SETATTRLIST
                        struct attrlist attrList;