This is the mail archive of the gdb-testers@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]

[binutils-gdb/gdb-8.2-branch] Initialize variable in py_get_event_thread


*** TEST RESULTS FOR COMMIT c6f50f8869ac0dd10040f5c32387eb404f9ff50a ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: gdb-8.2-branch
Commit: c6f50f8869ac0dd10040f5c32387eb404f9ff50a

Initialize variable in py_get_event_thread

The pythread variable could be used without being initialized, fix it by
initializing it to nullptr.

gdb/ChangeLog:

	* python/py-threadevent.c (py_get_event_thread): Initialize
	pythread.


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