Menu

#43 NULL check missing, have solution!

open
nobody
None
5
2013-01-19
2013-01-19
Anonymous
No

In indent_spaces.c line 557, please add pprev null check like i did it here...

/* We don't want word of struct, enum, union, class to be align */
if
( pprev &&
(
(pprev->i_SubSubID == TOKEN_WW_UNION)
|| (pprev->i_SubSubID == TOKEN_WW_STRUCT)
|| (pprev->i_SubSubID == TOKEN_WW_ENUM)
)
)

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.