This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: coding style tweaks
I've committed these, as obvious fixes.
Jim Blandy <jimb@redhat.com> writes:
> 2002-05-13 Jim Blandy <jimb@redhat.com>
>
> * macroexp.c (init_buffer, gather_arguments, expand): Use NULL, not 0.
> * macrotab.c (macro_lookup_inclusion, find_definition,
> new_macro_table): Same.
>
> * macroexp.c (currently_rescanning, expand): Use `strcmp () == 0',
> not `! strcmp ()'. This is a dubious improvement.
> * macrotab.c (macro_lookup_inclusion, find_definition): Same.
>
> * macrotab (macro_lookup_inclusion): Initialize `best_depth',
> although it's not necessary, to avoid a warning.