Skip to content

Commit 0753938

Browse files
authored
Merge pull request #167 from nicolasnoble/tabremover-fix
Fixing tabremover crash.
2 parents 2a273f6 + be9648b commit 0753938

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tools/code-format/tabremover.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ int main(int argc, char ** argv) {
5757
}
5858
}
5959

60+
if (!in_name) {
61+
error("Missing input filename");
62+
return -1;
63+
}
64+
6065
if (!out_name) {
6166
size_t in_len = strlen(in_name);
6267
out_template = malloc(in_len + 8);

0 commit comments

Comments
 (0)