mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 20:12:48 -05:00
Missing assert.
[originally from svn r9964]
This commit is contained in:
@ -1293,6 +1293,7 @@ void winctrl_remove(struct winctrls *wc, struct winctrl *c)
|
|||||||
{
|
{
|
||||||
struct winctrl *ret;
|
struct winctrl *ret;
|
||||||
ret = del234(wc->byctrl, c);
|
ret = del234(wc->byctrl, c);
|
||||||
|
assert(ret == c);
|
||||||
ret = del234(wc->byid, c);
|
ret = del234(wc->byid, c);
|
||||||
assert(ret == c);
|
assert(ret == c);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user