mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
changes to get this to build with the -pedanic flag.
(when you pass --enable-pedantic to the compiler)
This commit is contained in:
parent
a5a29fec8a
commit
108be1837b
@ -222,8 +222,11 @@ input_callback(IDL_input_reason reason, union IDL_input_data *cb_data,
|
||||
* file, we only look for it in the first entry in the include
|
||||
* path, which we assume to be the current directory.
|
||||
*/
|
||||
IncludePathEntry first_entry = { stack->include_path->directory,
|
||||
NULL };
|
||||
IncludePathEntry first_entry;
|
||||
|
||||
first_entry.directory = stack->include_path->directory;
|
||||
first_entry.next = NULL;
|
||||
|
||||
new_data = new_input_callback_data(cb_data->init.filename,
|
||||
&first_entry);
|
||||
} else {
|
||||
|
@ -222,8 +222,11 @@ input_callback(IDL_input_reason reason, union IDL_input_data *cb_data,
|
||||
* file, we only look for it in the first entry in the include
|
||||
* path, which we assume to be the current directory.
|
||||
*/
|
||||
IncludePathEntry first_entry = { stack->include_path->directory,
|
||||
NULL };
|
||||
IncludePathEntry first_entry;
|
||||
|
||||
first_entry.directory = stack->include_path->directory;
|
||||
first_entry.next = NULL;
|
||||
|
||||
new_data = new_input_callback_data(cb_data->init.filename,
|
||||
&first_entry);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user