summaryrefslogtreecommitdiffstats
path: root/win/tkWin3d.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-01-12 10:41:23 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-01-12 10:41:23 (GMT)
commit6c75da00b675108a826e392e827698d4eeb5e4cf (patch)
treeef82d8fda6efa38bb2958e9d9816fd6f4b4eedbf /win/tkWin3d.c
parent32d9b2358c24a7c31ab8662b3c8d91dd932dbde0 (diff)
downloadtk-6c75da00b675108a826e392e827698d4eeb5e4cf.zip
tk-6c75da00b675108a826e392e827698d4eeb5e4cf.tar.gz
tk-6c75da00b675108a826e392e827698d4eeb5e4cf.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);
}