Always initialize header file name, to prevent "#include (null)"
statements in generated files.
This commit is contained in:
parent
820dce129a
commit
c194b2e853
|
@ -231,7 +231,7 @@ int main(int argc,char *argv[])
|
|||
(debuglevel & DEBUGLEVEL_PPTRACE) != 0,
|
||||
(debuglevel & DEBUGLEVEL_PPMSG) != 0 );
|
||||
|
||||
if (!header_name && do_header) {
|
||||
if (!header_name) {
|
||||
header_name = dup_basename(input_name, ".idl");
|
||||
strcat(header_name, ".h");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue