[haiku-commits] r39645 - haiku/trunk/src/servers/app

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 26 Nov 2010 14:24:10 +0100 (CET)

Author: bonefish
Date: 2010-11-26 14:24:10 +0100 (Fri, 26 Nov 2010)
New Revision: 39645
Changeset: http://dev.haiku-os.org/changeset/39645

Modified:
   haiku/trunk/src/servers/app/DefaultDecorator.cpp
Log:
Fixed gcc 2 warning.


Modified: haiku/trunk/src/servers/app/DefaultDecorator.cpp
===================================================================
--- haiku/trunk/src/servers/app/DefaultDecorator.cpp    2010-11-26 04:33:06 UTC 
(rev 39644)
+++ haiku/trunk/src/servers/app/DefaultDecorator.cpp    2010-11-26 13:24:10 UTC 
(rev 39645)
@@ -1506,7 +1506,7 @@
        ComponentColors _colors)
 {
        // get the highlight for our component
-       Region region;
+       Region region = REGION_NONE;
        switch (component) {
                case COMPONENT_TAB:
                        region = REGION_TAB;


Other related posts:

  • » [haiku-commits] r39645 - haiku/trunk/src/servers/app - ingo_weinhold