summaryrefslogtreecommitdiffstats
path: root/generic/tkEntry.c
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2001-09-21 22:08:19 (GMT)
committerhobbs <hobbs@noemail.net>2001-09-21 22:08:19 (GMT)
commitb6f13a772832ee5fdd3c7a807d0370dca3cedaf6 (patch)
tree4f073c570ad43e2899740bf9933e020f4774dce6 /generic/tkEntry.c
parentb8ff65dd3da13d6721b3138925e21c5c53ed9feb (diff)
downloadtk-b6f13a772832ee5fdd3c7a807d0370dca3cedaf6.zip
tk-b6f13a772832ee5fdd3c7a807d0370dca3cedaf6.tar.gz
tk-b6f13a772832ee5fdd3c7a807d0370dca3cedaf6.tar.bz2
* generic/tkWindow.c (Tk_CreateAnonymousWindow):
* generic/tkEntry.c (GetSpinboxElement): fixed unreachable returns. FossilOrigin-Name: a91d96e5c0b1201b74b379ae0cee6537bc215d20
Diffstat (limited to 'generic/tkEntry.c')
-rw-r--r--generic/tkEntry.c4
1 files changed, 1 insertions, 3 deletions
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;
}