This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Remove unneeded variable assignment
- From: sergiodj+buildbot at redhat dot com
- To: gdb-testers at sourceware dot org
- Date: Thu, 09 Jul 2015 12:00:41 -0400
- Subject: [binutils-gdb] Remove unneeded variable assignment
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT f6b93c346364866f96529fb03557eb43e0434fa5 ***
Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: f6b93c346364866f96529fb03557eb43e0434fa5
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.
- Follow-Ups:
- Failures on AIX-POWER7-plain, branch master
- Failures on Debian-s390x-m64, branch master
- Failures on Debian-s390x-native-gdbserver-m64, branch master
- Failures on Debian-i686, branch master
- Failures on Debian-i686-native-gdbserver, branch master
- Failures on Fedora-ppc64be-cc-with-index, branch master
- Failures on Debian-i686-native-extended-gdbserver, branch master
- Failures on Fedora-ppc64be-m64, branch master
- Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master
- Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch master