![]() |
|
|
Change By:
|
Michal Turek
(18/May/14 11:25 AM)
|
Description:
|
The plugin doesn't work with
{{
verbose
}}
information present in
the
report file produced by cppcheck
, it uses only {{msg}} attribute
. It should be stored and displayed to the user
too
.
{noformat} <error
id="arrayIndexThenCheck"
severity="style"
msg="Array index 'index' is used before limits check."
verbose="Defensive programming: The variable 'index' is used
as an array index before it is check that is within limits.
This can mean that the array might be accessed out of bounds.
Reorder conditions such as '(a[i] && i < 10)' to
'(i < 10 && a[i])'. That way the array will not
be accessed if the index is out of limits."> </error> {noformat}
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit
https://groups.google.com/d/optout.