aboutsummaryrefslogtreecommitdiff
path: root/lib/libncurses
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>1998-02-20 07:40:22 +0000
committerJohn Birrell <jb@FreeBSD.org>1998-02-20 07:40:22 +0000
commit554ce328973cfbbbe45b9bf3977c99a1c8df1961 (patch)
tree8de8191239d8aff817b0d260dd2d86ce8aaa2d6f /lib/libncurses
parent756985ab45965d1e18f1c7fb6436a9d3df3d7da8 (diff)
downloadsrc-554ce328973cfbbbe45b9bf3977c99a1c8df1961.tar.gz
src-554ce328973cfbbbe45b9bf3977c99a1c8df1961.zip
Avoid an uninitialised variable warning from gcc. I bet some people
don't like me doing this, but I want to see clean compiles. 8-)
Notes
Notes: svn path=/head/; revision=33661
Diffstat (limited to 'lib/libncurses')
-rw-r--r--lib/libncurses/lib_kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libncurses/lib_kernel.c b/lib/libncurses/lib_kernel.c
index a1d0a85c5a9e..534f6f055c90 100644
--- a/lib/libncurses/lib_kernel.c
+++ b/lib/libncurses/lib_kernel.c
@@ -113,7 +113,7 @@ int cursor = SP->_cursor;
int delay_output(int ms)
{
-int speed;
+int speed = 0;
T(("delay_output(%d) called", ms));