From: Kim F. Storm Date: Wed, 12 Jul 2006 13:16:13 +0000 (+0000) Subject: (sit_for): Tiny simplification. X-Git-Tag: emacs-pretest-22.0.90~1507 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=99a20368116f90c7bbed30deac4494e5d06d54b7;p=emacs.git (sit_for): Tiny simplification. --- diff --git a/src/dispnew.c b/src/dispnew.c index 748456ba3a7..cf0d8668906 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -6526,9 +6526,7 @@ sit_for (timeout, reading, do_display) } else if (FLOATP (timeout)) { - double seconds; - - seconds = XFLOAT_DATA (timeout); + double seconds = XFLOAT_DATA (timeout); sec = (int) seconds; usec = (int) ((seconds - sec) * 1000000); }