Skip to content

Commit 2768fd7

Browse files
idodeclareVladimir Kotal
authored andcommitted
No need for "UNDEFINED" handling re Ctags argv
1 parent a321215 commit 2768fd7

File tree

1 file changed

+1
-5
lines changed
  • opengrok-indexer/src/main/java/org/opengrok/indexer/index

1 file changed

+1
-5
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/index/Indexer.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,11 +1129,7 @@ private static String getCtagsCommand() {
11291129
result.append("\t");
11301130
}
11311131
String arg = argv.get(i);
1132-
if (arg == null) {
1133-
result.append("UNDEFINED");
1134-
} else {
1135-
result.append(maybeEscapeForSh(arg));
1136-
}
1132+
result.append(maybeEscapeForSh(arg));
11371133
if (i + 1 < argv.size()) {
11381134
result.append(" \\");
11391135
}

0 commit comments

Comments
 (0)