diff --git a/ChangeLog b/ChangeLog
index 31a363e84625785d237052e60322d774b9ae2bdd..0c85e1a115591d4a6e68de1446e469cc88162a64 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -37,6 +37,7 @@ General
   main()
 	- Alternate speller option no longer valid if DISABLE_SPELLER is
 	  active. (Rocco)
+	- Initialized kbinput to get around stupid compiler warning.
   nano_small_msg()
 	- This function has been removed.  All references now call
 	  nano_disabled_msg. (Rocco)
diff --git a/nano.c b/nano.c
index f1add813d03fa8ccd25a1248b93dfb769b52473e..be282806a1d932ec565c84503c9155c4527f612c 100644
--- a/nano.c
+++ b/nano.c
@@ -1751,7 +1751,7 @@ int do_justify(void)
     return 1;
 #else
     int slen = 0;		/* length of combined lines on one line. */
-    int initial_y, kbinput;
+    int initial_y, kbinput = 0;
     filestruct *initial = NULL, *tmpjust = NULL, *cutbak, *tmptop, *tmpbot;
 
     if (empty_line(current->data)) {