From 9de4d4db5a8c7ff0806ee5ccf71bc69086bb8e4a Mon Sep 17 00:00:00 2001 From: hobbs Date: Fri, 21 Sep 2001 22:08:19 +0000 Subject: * generic/tkWindow.c (Tk_CreateAnonymousWindow): * generic/tkEntry.c (GetSpinboxElement): fixed unreachable returns. --- ChangeLog | 3 +++ generic/tkEntry.c | 4 +--- generic/tkWindow.c | 4 +--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index c20386f..c54e945 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2001-09-21 Jeff Hobbs + * generic/tkWindow.c (Tk_CreateAnonymousWindow): + * generic/tkEntry.c (GetSpinboxElement): fixed unreachable returns. + * win/tkWinX.c (TkGetServerInfo): added recognition of Win64. * xlib/X11/X.h: made XID __int64 type for Win64. diff --git a/generic/tkEntry.c b/generic/tkEntry.c index 233fd90..43c3429 100644 --- a/generic/tkEntry.c +++ b/generic/tkEntry.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkEntry.c,v 1.22 2001/08/29 23:22:24 hobbs Exp $ + * RCS: @(#) $Id: tkEntry.c,v 1.23 2001/09/21 22:08:19 hobbs Exp $ */ #include "tkInt.h" @@ -4344,8 +4344,6 @@ GetSpinboxElement(sbPtr, x, y) } else { return SEL_BUTTONUP; } - } else { - return SEL_ENTRY; } return SEL_ENTRY; } diff --git a/generic/tkWindow.c b/generic/tkWindow.c index 3a9f911..4316f31 100644 --- a/generic/tkWindow.c +++ b/generic/tkWindow.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWindow.c,v 1.36 2001/09/21 21:34:10 hobbs Exp $ + * RCS: @(#) $Id: tkWindow.c,v 1.37 2001/09/21 22:08:19 hobbs Exp $ */ #include "tkPort.h" @@ -1049,8 +1049,6 @@ Tk_CreateAnonymousWindow(interp, parent, screenName) if (NameWindow(interp, winPtr, parentPtr, (char *)NULL) != TCL_OK) { Tk_DestroyWindow((Tk_Window) winPtr); return NULL; - } else { - return (Tk_Window) winPtr; } return (Tk_Window) winPtr; } else { -- cgit v0.12