summaryrefslogtreecommitdiffstats
path: root/win/tkWin3d.c
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2007-01-12 10:41:23 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2007-01-12 10:41:23 (GMT)
commit61131ef482979e5e5bd5fe298771e734efb9312b (patch)
treeef82d8fda6efa38bb2958e9d9816fd6f4b4eedbf /win/tkWin3d.c
parent7b4182537e13cc67a54c84fa013a3387f6e932ea (diff)
downloadtk-61131ef482979e5e5bd5fe298771e734efb9312b.zip
tk-61131ef482979e5e5bd5fe298771e734efb9312b.tar.gz
tk-61131ef482979e5e5bd5fe298771e734efb9312b.tar.bz2
More warning squelching (mostly uninit variable warnings)
Diffstat (limited to 'win/tkWin3d.c')
-rw-r--r--win/tkWin3d.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/win/tkWin3d.c b/win/tkWin3d.c
index a619082..78f5146 100644
--- a/win/tkWin3d.c
+++ b/win/tkWin3d.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWin3d.c,v 1.9 2005/12/02 13:42:29 dkf Exp $
+ * RCS: @(#) $Id: tkWin3d.c,v 1.10 2007/01/12 10:41:23 dkf Exp $
*/
#include "tkWinInt.h"
@@ -162,6 +162,7 @@ Tk_3DVerticalBevel(
left = right = borderPtr->bgGC->foreground;
break;
case TK_RELIEF_SOLID:
+ default:
left = right = RGB(0,0,0);
break;
}
@@ -261,6 +262,7 @@ Tk_3DHorizontalBevel(
topColor = bottomColor = borderPtr->bgGC->foreground;
break;
case TK_RELIEF_SOLID:
+ default:
topColor = bottomColor = RGB(0,0,0);
}