Build fix.
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 30 Sep 2006 00:06:25 +0000 (00:06 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 30 Sep 2006 00:06:25 +0000 (00:06 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16668 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/html/HTMLSelectElement.cpp

index 98b9245c477d17fc3ecca5d9394783c85984169a..146445413b8b43cae4bc1c953c369399a4d331f3 100644 (file)
@@ -600,7 +600,7 @@ void HTMLSelectElement::listBoxDefaultEventHandler(Event* evt)
             return;
         String keyIdentifier = static_cast<KeyboardEvent*>(evt)->keyIdentifier();
         
-        int index;
+        int index = 0;
         const Vector<HTMLElement*>& items = listItems();
 
         if (keyIdentifier == "Down") {