emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r108743: * term.c (delete_tty): Remov


From: Dmitry Antipov
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r108743: * term.c (delete_tty): Remove redundant call to memset.
Date: Tue, 26 Jun 2012 09:40:33 +0400
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 108743
committer: Dmitry Antipov <address@hidden>
branch nick: trunk
timestamp: Tue 2012-06-26 09:40:33 +0400
message:
  * term.c (delete_tty): Remove redundant call to memset.
modified:
  src/ChangeLog
  src/term.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-06-26 05:00:30 +0000
+++ b/src/ChangeLog     2012-06-26 05:40:33 +0000
@@ -1,5 +1,9 @@
 2012-06-26  Dmitry Antipov  <address@hidden>
 
+       * term.c (delete_tty): Remove redundant call to memset.
+
+2012-06-26  Dmitry Antipov  <address@hidden>
+
        * alloc.c: Remove build_string.
        * lisp.h: Define build_string as static inline.  This provides
        a better opportunity to optimize away calls to strlen when the

=== modified file 'src/term.c'
--- a/src/term.c        2012-06-26 02:33:51 +0000
+++ b/src/term.c        2012-06-26 05:40:33 +0000
@@ -3605,7 +3605,6 @@
   xfree (tty->termcap_strings_buffer);
   xfree (tty->termcap_term_buffer);
 
-  memset (tty, 0, sizeof (struct tty_display_info));
   xfree (tty);
 }
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]