@@ -29,11 +29,11 @@ int main(int argc, char* argv[])
2929 int this_option_optind = optind ? optind : 1 ;
3030 int option_index = 0 ;
3131 static struct option long_options[] = {
32- {" input" , required_argument, 0 , 0 },
33- {" output" , required_argument, 0 , 1 },
34- {" max-size" , required_argument, 0 , 2 },
35- {" help" , no_argument, 0 , 3 },
36- {0 , 0 , 0 , 0 }};
32+ {" input" , required_argument, nullptr , 0 },
33+ {" output" , required_argument, nullptr , 1 },
34+ {" max-size" , required_argument, nullptr , 2 },
35+ {" help" , no_argument, nullptr , 3 },
36+ {nullptr , 0 , nullptr , 0 }};
3737
3838 while (true ) {
3939 int c = getopt_long (argc, argv, " " , long_options, &option_index);
@@ -74,8 +74,9 @@ int main(int argc, char* argv[])
7474 while (in.good ()) {
7575 in >> line;
7676
77- if (line.Length () == 0 )
77+ if (line.Length () == 0 ) {
7878 continue ;
79+ }
7980
8081 printf (" Processing input file: %s\n " , line.Data ());
8182
@@ -84,8 +85,9 @@ int main(int argc, char* argv[])
8485 keyList->Sort ();
8586
8687 for (auto key1 : *keyList) {
87- if (!((TObjString*)key1)->GetString ().BeginsWith (" DF_" ))
88+ if (!((TObjString*)key1)->GetString ().BeginsWith (" DF_" )) {
8889 continue ;
90+ }
8991
9092 auto dfName = ((TObjString*)key1)->GetString ().Data ();
9193
0 commit comments