This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] cleanup: remove unused - c-*


>>>>> "Aleksandar" == Aleksandar Ristovski <aristovski@qnx.com> writes:

Aleksandar>      * c-exp.y (classify_inner_name): Remove unused TYPE.
Aleksandar>      * c-lang.c (c_printstr): Remove unused BYTE_ORDER, I, THINGS_PRINTED,
Aleksandar>      IN_QUOTES, NEED_COMMA, WCHAR_BUF, OUTPUT, CLEANUP, ITER, FINISHED,
Aleksandar>      NEED_ESCAPE.
Aleksandar>      (c_get_string): Remove unused KIND.
Aleksandar>      * c-typeprint.c (c_type_print_args): Remove unused I, LEN, ARGS,
Aleksandar> TABLE2.

The usual name cleanup, and also...

Aleksandar> +  (void) classify_type (element_type,

Just drop the cast to void.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]