Remove unneeded variable assignment
authorSimon Marchi <simon.marchi@ericsson.com>
Thu, 9 Jul 2015 15:15:40 +0000 (11:15 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Thu, 9 Jul 2015 15:24:56 +0000 (11:24 -0400)
commitf6b93c346364866f96529fb03557eb43e0434fa5
tree46ea0fbc663b9ddcad10aa7ebfc4d700470734ec
parentde231f2015ec537df22c60822c9adb1f2205c13e
Remove unneeded variable assignment

The assignment to i in the TYPE_CODE_PTR section is not useful.
Removing it allows to move i in a narrower scope, which will help
things somewhere in the next patches.

gdb/ChangeLog:

* c-valprint.c (c_val_print): Remove an assignment to i and move
its declaration.
gdb/ChangeLog
gdb/c-valprint.c