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]

[PATCH] pedantic return


According to the comment, the call to command_handler is not
expected to return.  But if for any reason it does, the next
thing we will do is dereference a null pointer.

I called this a "keep lint happy" patch, but it's actually Coverity.

Attachment: lint.txt
Description: Text document


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