forked from github/server
unused variable.
This commit is contained in:
parent
1ee6f5444a
commit
907c5fc601
1 changed files with 1 additions and 2 deletions
|
@ -23,10 +23,9 @@ int main(int argc, char **argv) {
|
||||||
if (argc < 2) return usage();
|
if (argc < 2) return usage();
|
||||||
mode = argv[1];
|
mode = argv[1];
|
||||||
if (strcmp(mode, "rules")==0) {
|
if (strcmp(mode, "rules")==0) {
|
||||||
const char *xmlfile, *catalog;
|
const char *xmlfile;
|
||||||
if (argc < 4) return usage();
|
if (argc < 4) return usage();
|
||||||
xmlfile = argv[2];
|
xmlfile = argv[2];
|
||||||
catalog = argv[3];
|
|
||||||
read_xml(xmlfile);
|
read_xml(xmlfile);
|
||||||
write_rules("rules.dat");
|
write_rules("rules.dat");
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue