magic/windows
Darryl Miles d1dc038cb7 windows/windDisp.c: Redundant null check due to previous dereference
Fix code scanning alert no. 133: Redundant null check due to previous dereference (#40)

* Update windDisp.c

* DLM - AI wanted to guard the '*area' dereference in if() statement, but the code path above has address of '&' operator for the assignment to 'area' so it must always be non-null.  So I rejected this approach and removed the extra null check, replacing it with an assert().

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2024-10-01 12:36:13 -04:00
..
Makefile Implemented a new configuration variable "dist_prefix" for 2020-01-28 10:40:01 -05:00
vfont.B.12 Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
vfont.I.12 Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
vfont.R.8 Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
windClient.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
windCmdAM.c Finally got around to fixing the "logcommands" command, which has 2023-06-28 21:31:24 -04:00
windCmdNR.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
windCmdSZ.c Compatibility with C99 standard 2022-10-29 06:07:46 +02:00
windDebug.c windows/windDebug.c: Wrong type of arguments to formatting function 2024-10-01 12:36:13 -04:00
windDisp.c windows/windDisp.c: Redundant null check due to previous dereference 2024-10-01 12:36:13 -04:00
windInt.h Compatibility with C99 standard 2022-10-29 06:07:46 +02:00
windMain.c Compatibility with C99 standard 2022-10-29 06:07:46 +02:00
windMove.c Removing extra `$Header$` 2020-05-27 20:35:27 -04:00
windSearch.c Removing extra `$Header$` 2020-05-27 20:35:27 -04:00
windSend.c Finally got around to fixing the "logcommands" command, which has 2023-06-28 21:31:24 -04:00
windTrans.c Removing extra `$Header$` 2020-05-27 20:35:27 -04:00
windView.c Compatibility with C99 standard 2022-10-29 06:07:46 +02:00
windows.h Compatibility with C99 standard 2022-10-29 06:07:46 +02:00
windows7.glyphs Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
windows11.glyphs Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
windows14.glyphs Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
windows22.glyphs Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00