Skip to content

Commit c90ef0c

Browse files
committed
Remove deepscan comments
No longer used for JSROOT
1 parent c1c54d0 commit c90ef0c

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

modules/geom/TGeoPainter.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ function expandGeoObject(parent, obj) {
230230
}
231231

232232
if (!subnodes && (shape?._typename === clTGeoCompositeShape) && shape?.fNode) {
233-
if (!parent._childs) { // deepscan-disable-line
233+
if (!parent._childs) {
234234
createItem(parent, shape.fNode.fLeft, 'Left');
235235
createItem(parent, shape.fNode.fRight, 'Right');
236236
}

modules/geom/geobase.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2518,7 +2518,7 @@ class ClonedNodes {
25182518
issimple = (clone.matrix[k] === ((k === 5) || (k === 10) || (k === 15) ? 1 : 0));
25192519
if (issimple) delete clone.matrix;
25202520
}
2521-
if (clone.matrix && (kind === kindEve)) // deepscan-disable-line INSUFFICIENT_NULL_CHECK
2521+
if (clone.matrix && (kind === kindEve))
25222522
clone.abs_matrix = true;
25232523
}
25242524
if (shape) {

modules/gui/HierarchyPainter.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2531,7 +2531,7 @@ class HierarchyPainter extends BasePainter {
25312531
hitem = d.last;
25322532
}
25332533

2534-
if (hitem) { // deepscan-disable-line
2534+
if (hitem) {
25352535
// check that item is visible (opened), otherwise should enable parent
25362536

25372537
let prnt = hitem._parent;

modules/hist/TGraph2DPainter.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ class TGraphDelaunay {
641641
continue; // goto L50;
642642
}
643643

644-
if (skip_this_triangle) break; // deepscan-disable-line
644+
if (skip_this_triangle) break;
645645

646646
/* Error("Interpolate", "Should not get to here"); */
647647
// may as well soldier on
@@ -679,7 +679,7 @@ class TGraphDelaunay {
679679
// vector (dx3,dy3) is expressible as a sum of the other two vectors
680680
// with positive coefficients -> i.e. it lies between the other two vectors
681681
if (l === 1) {
682-
f = m; o1 = p; o2 = n; // deepscan-disable-line
682+
f = m; o1 = p; o2 = n;
683683
} else if (l === 2) {
684684
f = p; o1 = n; o2 = m;
685685
} else {
@@ -798,7 +798,7 @@ class TGraphDelaunay {
798798
}
799799
}
800800
}
801-
if (shouldbein) // deepscan-disable-line
801+
if (shouldbein)
802802
console.error(`Interpolate Point outside hull when expected inside: this point could be dodgy ${xx} ${yy} ${ntris_tried}`);
803803
return thevalue;
804804
}

modules/hist2d/TH2Painter.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ function buildHist2dContour(histo, handle, levels, palette, contour_func) {
9696
for (k = 0; k < 4; k++)
9797
ir[k] = LevelSearch(zc[k]);
9898

99-
if ((ir[0] !== ir[1]) || (ir[1] !== ir[2]) || (ir[2] !== ir[3]) || (ir[3] !== ir[0])) { // deepscan-disable-line
99+
if ((ir[0] !== ir[1]) || (ir[1] !== ir[2]) || (ir[2] !== ir[3]) || (ir[3] !== ir[0])) {
100100
x[3] = x[0] = (arrx[i] + arrx[i+1])/2;
101101
x[2] = x[1] = (arrx[i+1] + arrx[i+2])/2;
102102

@@ -390,7 +390,7 @@ class Triangles3DHandler {
390390

391391
// check if any(contours for given level exists
392392
if (((side1 > 0) || (side2 > 0) || (side3 > 0)) &&
393-
((side1 !== side2) || (side2 !== side3) || (side3 !== side1))) // deepscan-disable-line
393+
((side1 !== side2) || (side2 !== side3) || (side3 !== side1)))
394394
++ngridsegments;
395395

396396
continue;

0 commit comments

Comments
 (0)