Skip to content

Commit b7164bf

Browse files
committed
Replace the secondary location by adding flow element
1 parent 344027b commit b7164bf

File tree

3 files changed

+257
-259
lines changed

3 files changed

+257
-259
lines changed

cxx-sensors/src/main/java/org/sonar/cxx/sensors/pclint/CxxPCLintSensor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ private void addSecondaryLocationsToCurrentIssue(@Nonnull CxxReportIssue current
189189
line = primaryLocation.getLine();
190190
}
191191

192-
currentIssue.addLocation(file, line, msg);
192+
currentIssue.addFlowElement(file, line, msg);
193193
}
194194

195195
private boolean isInputValid(@Nullable String file, @Nullable String line,

0 commit comments

Comments
 (0)