Remove redundant macro.
authorRichard W.M. Jones <rjones@redhat.com>
Mon, 17 Aug 2009 11:23:16 +0000 (12:23 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 17 Aug 2009 11:23:16 +0000 (12:23 +0100)
daemon/guestfsd.c

index ad3ce15..af554bf 100644 (file)
@@ -745,8 +745,6 @@ print_sysroot_shell_quote (FILE *stream,
                            const struct printf_info *info,
                            const void *const *args)
 {
                            const struct printf_info *info,
                            const void *const *args)
 {
-#define SAFE(c) (isalnum((c)) ||                                       \
-                 (c) == '/' || (c) == '-' || (c) == '_' || (c) == '.')
   fputs (sysroot, stream);
   return sysroot_len + print_shell_quote (stream, info, args);
 }
   fputs (sysroot, stream);
   return sysroot_len + print_shell_quote (stream, info, args);
 }