[all-commits] [llvm/llvm-project] 9dbdae: Remove unused variable "saved_opts".

Sterling-Augustine via All-commits all-commits at lists.llvm.org
Thu Aug 6 10:20:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9dbdaea9a0e6f58417b5bd8980e7ea6723fd1783
      https://github.com/llvm/llvm-project/commit/9dbdaea9a0e6f58417b5bd8980e7ea6723fd1783
  Author: Sterling Augustine <saugustine at google.com>
  Date:   2020-08-06 (Thu, 06 Aug 2020)

  Changed paths:
    M lldb/source/Core/IOHandlerCursesGUI.cpp

  Log Message:
  -----------
  Remove unused variable "saved_opts".

wattr_get is a macro, and the documentation states:
"The parameter opts is reserved for  future use,
applications must supply a null pointer."

In practice, passing a variable there is harmless, except
that it is unused inside the macro, which causes unused
variable warnings.

The various places where




More information about the All-commits mailing list