Print this page
11972 resync smatch
*** 5,15 ****
my $project = shift;
my $warns = shift;
my $db_file = shift;
! if (!defined($warns)) {
print "usage: $0 <-p=project> <smatch_warns.txt> <db_file>\n";
exit(1);
}
my $db = DBI->connect("dbi:SQLite:$db_file", "", "", {AutoCommit => 0});
--- 5,15 ----
my $project = shift;
my $warns = shift;
my $db_file = shift;
! if (!defined($db_file)) {
print "usage: $0 <-p=project> <smatch_warns.txt> <db_file>\n";
exit(1);
}
my $db = DBI->connect("dbi:SQLite:$db_file", "", "", {AutoCommit => 0});