summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2021-05-08 22:01:07 (GMT)
committerfvogel <fvogelnew1@free.fr>2021-05-08 22:01:07 (GMT)
commit3bc8052525161bf1c98f901f4423eaf0ae9f5f65 (patch)
treedb7c8802297d0960e74ebaf0a68c7ee871b136ea /win
parent0b6fd790bf897d2bd06a0583c7e6f23eb968acff (diff)
downloadtk-3bc8052525161bf1c98f901f4423eaf0ae9f5f65.zip
tk-3bc8052525161bf1c98f901f4423eaf0ae9f5f65.tar.gz
tk-3bc8052525161bf1c98f901f4423eaf0ae9f5f65.tar.bz2
Also remove unreachable return statement.
Diffstat (limited to 'win')
-rw-r--r--win/tkWinDraw.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/win/tkWinDraw.c b/win/tkWinDraw.c
index bee79f0..4ed8ab2 100644
--- a/win/tkWinDraw.c
+++ b/win/tkWinDraw.c
@@ -587,7 +587,6 @@ TkPutImage(
}
if (!bitmap) {
Tcl_Panic("Fail to allocate bitmap");
- return BadValue;
}
bitmap = SelectObject(dcMem, bitmap);
BitBlt(dc, dest_x, dest_y, (int) width, (int) height, dcMem, src_x, src_y,