Code handling --clone and --extend is not unused.
The usage message regarding those options was already commented out.

Signed-off-by: Yann Droneaud <[email protected]>
---
 xrandr.c |   22 ----------------------
 1 files changed, 0 insertions(+), 22 deletions(-)

diff --git a/xrandr.c b/xrandr.c
index 17f43a5..9fcf3f0 100644
--- a/xrandr.c
+++ b/xrandr.c
@@ -111,10 +111,6 @@ usage(void)
     fprintf(stderr, "  --fb <width>x<height>\n");
     fprintf(stderr, "  --fbmm <width>x<height>\n");
     fprintf(stderr, "  --dpi <dpi>/<output>\n");
-#if 0
-    fprintf(stderr, "  --clone\n");
-    fprintf(stderr, "  --extend\n");
-#endif
     fprintf(stderr, "  --output <output>\n");
     fprintf(stderr, "      --auto\n");
     fprintf(stderr, "      --mode <mode>\n");
@@ -203,11 +199,6 @@ reflection_name (Rotation rotation)
     return "invalid reflection";
 }
 
-typedef enum _policy {
-    policy_clone,
-    policy_extend
-} policy_t;
-
 typedef enum _relation {
     relation_left_of,
     relation_right_of,
@@ -2055,7 +2046,6 @@ main (int argc, char **argv)
     Bool       have_pixel_size = False;
     int                ret = 0;
     output_t   *output = NULL;
-    policy_t   policy = policy_clone;
     Bool       setit_1_2 = False;
     Bool       query_1_2 = False;
     Bool       modeit = False;
@@ -2436,18 +2426,6 @@ main (int argc, char **argv)
            action_requested = True;
            continue;
        }
-       if (!strcmp ("--clone", argv[i])) {
-           policy = policy_clone;
-           setit_1_2 = True;
-           action_requested = True;
-           continue;
-       }
-       if (!strcmp ("--extend", argv[i])) {
-           policy = policy_extend;
-           setit_1_2 = True;
-           action_requested = True;
-           continue;
-       }
        if (!strcmp ("--auto", argv[i])) {
            if (output)
            {
-- 
1.6.0.2



_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to