summaryrefslogtreecommitdiffstats
path: root/lib/libncurses
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-02-20 07:40:22 +0000
committerjb <jb@FreeBSD.org>1998-02-20 07:40:22 +0000
commitf12b4c97035cad82f0e3db1d7abbaa67a4a9bf2a (patch)
tree7d2540806abce302c32d186ced2a7ef1615a751c /lib/libncurses
parent2efe016de412b5ba8f550edafdcf575943e3b7c8 (diff)
downloadFreeBSD-src-f12b4c97035cad82f0e3db1d7abbaa67a4a9bf2a.zip
FreeBSD-src-f12b4c97035cad82f0e3db1d7abbaa67a4a9bf2a.tar.gz
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-)
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 a1d0a85..534f6f0 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));
OpenPOWER on IntegriCloud