TextView: initialize buttons variable

CID 10751.
This commit is contained in:
Philippe Saint-Pierre
2012-01-02 22:46:30 -05:00
parent f54fc2dcfe
commit 7cd8f5f9b9
+1 -1
View File
@@ -574,7 +574,7 @@ BTextView::MouseDown(BPoint where)
_StopMouseTracking();
int32 modifiers = 0;
uint32 buttons;
uint32 buttons = 0;
BMessage *currentMessage = Window()->CurrentMessage();
if (currentMessage != NULL) {
currentMessage->FindInt32("modifiers", &modifiers);