[PATCH] gdb: Check for nullptr when computing srcpath

Christian Biesinger via gdb-patches gdb-patches@sourceware.org
Thu Feb 27 19:33:00 GMT 2020


+   if (build_id != nullptr && srcpath.size () > 0)

I usually prefer !srcpath.empty ()

Also, I would like to second simark's suggestion for git-send-email!

Christian

On Thu, Feb 27, 2020 at 12:00 PM Aaron Merey <amerey@redhat.com> wrote:
>
>



More information about the Gdb-patches mailing list