summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2007-05-06 15:54:07 +0000
committerMatthias Melcher <fltk@matthiasm.com>2007-05-06 15:54:07 +0000
commit01d6c3b3fcaf68e701fd32ded83b2f38d09ae748 (patch)
tree9433ad8470ba8d07b77edc98e607b887080466f3
parent22c55a3ca33a7cdb79e134adef9530308a44b0fb (diff)
STR #1670: Fixed gcc warning in Mac source code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5803 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/Fl_mac.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_mac.cxx b/src/Fl_mac.cxx
index f532003a7..48f22a27f 100644
--- a/src/Fl_mac.cxx
+++ b/src/Fl_mac.cxx
@@ -964,7 +964,7 @@ static pascal OSStatus carbonMouseHandler( EventHandlerCallRef nextHandler, Even
UInt32 chord;
GetEventParameter( event, kEventParamMouseChord, typeUInt32, NULL, sizeof(UInt32), NULL, &chord );
WindowRef xid = fl_xid(window), tempXid;
- int sendEvent = 0, part;
+ int sendEvent = 0, part = 0;
switch ( GetEventKind( event ) )
{
case kEventMouseDown: