You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7f7de27
Browse filesBrowse the repository at this point in the historyBrowse files
test1.c:4: Variable 'x' is assigned a value that is never used. [unreadVariable]
930
+
Initialize x with 0
931
+
932
+
In xml output the comment text is provided in a "remark" attribute:
933
+
934
+
$ ./cppcheck --enable=style --xml test1.c
935
+
....
936
+
remark="Initialize x with 0"
937
+
....
938
+
902
939
# Addons
903
940
904
941
Addons are scripts that analyse Cppcheck dump files to check compatibility with secure coding standards and to locate issues.
@@ -911,7 +948,7 @@ Cppcheck is distributed with a few addons which are listed below.
911
948
912
949
[misra.py](https://github.com/danmar/cppcheck/blob/main/addons/misra.py) is used to verify compliance with MISRA C 2012, a proprietary set of guidelines to avoid questionable code, developed for embedded systems.
913
950
914
-
The full list of supported rules is available on: [https://files.cppchecksolutions.com/misrac2012.html](https://files.cppchecksolutions.com/misrac2012.html)
951
+
The full list of supported rules is available on: [https://files.cppchecksolutions.com/misrac2023.html](https://files.cppchecksolutions.com/misrac2023.html)
0 commit comments