]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Add a commentary assertion in config dialog setup.
authorSimon Tatham <anakin@pobox.com>
Sat, 25 Jul 2015 10:07:38 +0000 (11:07 +0100)
committerSimon Tatham <anakin@pobox.com>
Sat, 25 Jul 2015 10:07:38 +0000 (11:07 +0100)
commit88b4db0c5006145ab082d5b6fe91e1109c088c5c
tree404806576f01418605de04c33e5e1157c349cf51
parentb266d671acee34f9305950bfd87054b3b7fcded6
Add a commentary assertion in config dialog setup.

Coverity complained that some paths through the loop in the
WM_INITDIALOG handler might leave firstpath==NULL. In fact this can't
happen because the input data to that loop is largely static and we
know what it looks like, but it doesn't seem unreasonable to add an
assertion anyway, to keep static checkers happy and as an explanatory
quasi-comment for humans.
windows/windlg.c