]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Missing assert.
authorSimon Tatham <anakin@pobox.com>
Mon, 22 Jul 2013 07:12:21 +0000 (07:12 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 22 Jul 2013 07:12:21 +0000 (07:12 +0000)
[originally from svn r9964]

windows/winctrls.c

index 49c13e8dc2ddfcf9968403afc97d70d6d258a0d2..72d462eddbbcbdc712fc01d4e955afe1ae066bd7 100644 (file)
@@ -1293,6 +1293,7 @@ void winctrl_remove(struct winctrls *wc, struct winctrl *c)
 {
     struct winctrl *ret;
     ret = del234(wc->byctrl, c);
+    assert(ret == c);
     ret = del234(wc->byid, c);
     assert(ret == c);
 }