binutils-gdb/gdb/cli
Andrew Burgess b03e6ad9cd gdb/cli: Remove casts of NULL during assignment.
In the following code:

    struct symbol *wsym = (struct symbol *) NULL;

the cast of NULL is redundant, it adds noise, and is just one more thing
to change if the type of wsym ever changes.  There are a relatively
small number of places in gdb where the above code pattern is used.
Usually the cast is removed like this:

    struct symbol *wsym = NULL;

This commit updates all the places within the gdb/cli directory where we
cast NULL during assignment, removing the cast.

gdb/ChangeLog:

	* cli/cli-decode.c (find_cmd): Remove cast of NULL pointer.
2015-09-04 16:50:20 +01:00
..
cli-cmds.c Replace some xmalloc-family functions with XNEW-family ones 2015-08-26 17:18:12 -04:00
cli-cmds.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cli-decode.c gdb/cli: Remove casts of NULL during assignment. 2015-09-04 16:50:20 +01:00
cli-decode.h C++ keyword cleanliness, mostly auto-generated 2015-02-27 16:33:07 +00:00
cli-dump.c gdb: Add internationalization support to a few strings. 2015-04-24 22:49:59 +01:00
cli-interp.c Split TRY_CATCH into TRY + CATCH 2015-03-07 15:14:14 +00:00
cli-logging.c PR mi/18833 gdb.execute ("set param value", to_string=True) will crash gdb if using MI 2015-08-18 14:02:03 -07:00
cli-script.c Replace some xmalloc-family functions with XNEW-family ones 2015-08-26 17:18:12 -04:00
cli-script.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cli-setshow.c Replace some xmalloc-family functions with XNEW-family ones 2015-08-26 17:18:12 -04:00
cli-setshow.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cli-utils.c Move utility functions to common/ 2015-06-15 17:04:56 +02:00
cli-utils.h Move utility functions to common/ 2015-06-15 17:04:56 +02:00