Always initialize header file name, to prevent "#include (null)"
authorJuan Lang <juan_lang@yahoo.com>
Mon, 18 Apr 2005 16:54:54 +0000 (16:54 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 18 Apr 2005 16:54:54 +0000 (16:54 +0000)
statements in generated files.

tools/widl/widl.c

index b952b5a..fa856fa 100644 (file)
@@ -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");
   }