* xfns.c (x_window): Remove redundant cast.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 25 Jun 2012 07:45:49 +0000 (00:45 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 25 Jun 2012 07:45:49 +0000 (00:45 -0700)
src/ChangeLog
src/xfns.c

index b8051d1..02dc8d4 100644 (file)
@@ -1,3 +1,7 @@
+2012-06-25  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * xfns.c (x_window): Remove redundant cast.
+
 2012-06-25  Dmitry Antipov  <dmantipov@yandex.ru>
 
        * xmenu.c (xmenu_show, xdialog_show): Explicit cast from
index d49f0ea..b5d0102 100644 (file)
@@ -2503,7 +2503,7 @@ x_window (struct frame *f, long window_prompting, int minibuffer_only)
        it is safe to free it while the frame exists.
        It isn't worth the trouble of arranging to free it
        when the frame is deleted.  */
-    tem = (char *) xstrdup (shell_position);
+    tem = xstrdup (shell_position);
     XtSetArg (gal[gac], XtNgeometry, tem); gac++;
     XtSetValues (shell_widget, gal, gac);
   }