changeset 71831:347f809d2edb

(sit_for): Tiny simplification.
author Kim F. Storm <storm@cua.dk>
date Wed, 12 Jul 2006 13:16:13 +0000
parents d1cea7530d3d
children e891eb992cb2
files src/dispnew.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Wed Jul 12 13:15:46 2006 +0000
+++ b/src/dispnew.c	Wed Jul 12 13:16:13 2006 +0000
@@ -6526,9 +6526,7 @@
     }
   else if (FLOATP (timeout))
     {
-      double seconds;
-
-      seconds = XFLOAT_DATA (timeout);
+      double seconds = XFLOAT_DATA (timeout);
       sec = (int) seconds;
       usec = (int) ((seconds - sec) * 1000000);
     }