]> git.eshelyaron.com Git - emacs.git/commitdiff
* 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 b8051d13680b7b4645fe96ad908afdc595b955a4..02dc8d4203afc7f75590592b055335fbe275c253 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 d49f0ea1458ad109a8dd8a58c0e97c9d1e2a6fb8..b5d0102486c93a9adff13defc76f5802f6aa00ce 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);
   }