Skip to content

Commit 30ed369

Browse files
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Fix #1473: warn when fclose() is used as a while loop condition
1 parent ad50ea7 commit 30ed369

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

releasenotes.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ New checks:
88
- MISRA C 2012 rule 10.3 now warns on assigning integer literals 0 and 1 to bool in C99 and later while preserving the existing C89 behavior.
99
- funcArgNamesDifferentUnnamed warns on function declarations/definitions where a parameter in either location is unnamed
1010
- uninitMemberVarNoCtor warns on user-defined types where some but not all members requiring initialization have in-class initializers.
11+
- fcloseInLoopCondition warns when fclose() is used as a while loop condition, which may skip the loop body or double-close the file handle.
1112

1213
C/C++ support:
1314
-

0 commit comments

Comments
 (0)