[all-commits] [llvm/llvm-project] 652815: [lldb][swig] Use the correct variable in the retur...

Dmitri Gribenko via All-commits all-commits at lists.llvm.org
Wed Aug 21 06:29:31 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 65281570afd7e35e01533b07c6c2937de410fc52
      https://github.com/llvm/llvm-project/commit/65281570afd7e35e01533b07c6c2937de410fc52
  Author: Dmitri Gribenko <gribozavr at gmail.com>
  Date:   2024-08-21 (Wed, 21 Aug 2024)

  Changed paths:
    M lldb/bindings/python/python-wrapper.swig

  Log Message:
  -----------
  [lldb][swig] Use the correct variable in the return statement

The issue was introduced in
https://github.com/llvm/llvm-project/pull/104523.

The code introduces the `ret_val` variable but does not use it. Instead
it returns a pointer, which gets implicitly converted to bool.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list