diff options
author | fvogel <fvogelnew1@free.fr> | 2020-09-28 17:22:12 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2020-09-28 17:22:12 (GMT) |
commit | 2b4bf2b80c9f3d8cf4e68341a59dab55150dc94b (patch) | |
tree | feaeab3cc3e40f6386073c18604156d04b479147 /generic | |
parent | fd3ac0319439e3de2d7f6e97705fb1af1d66cdc4 (diff) | |
download | tk-2b4bf2b80c9f3d8cf4e68341a59dab55150dc94b.zip tk-2b4bf2b80c9f3d8cf4e68341a59dab55150dc94b.tar.gz tk-2b4bf2b80c9f3d8cf4e68341a59dab55150dc94b.tar.bz2 |
Fix the build on Windows (MSVC) (warning was: not all control paths return a value). Build was broken by [901c6b113a6dc630], but the comment log didn't tell.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkTextImage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkTextImage.c b/generic/tkTextImage.c index 964f60f..6faacff 100644 --- a/generic/tkTextImage.c +++ b/generic/tkTextImage.c @@ -296,11 +296,11 @@ TkTextImageCmd( Tcl_SetObjResult(interp, resultObj); return TCL_OK; } - break; } default: Tcl_Panic("unexpected switch fallthrough"); } +// return TCL_ERROR; } /* |