[Lldb-commits] [lldb] r191617 - Remove useless declaration. If match_type == eNameMatchIgnore, we already left this function at the beginning of the method. Found by coverity. Fixes CID 1094188

Ed Maste emaste at freebsd.org
Fri Oct 11 09:27:27 PDT 2013


On 28 September 2013 11:35, Sylvestre Ledru <sylvestre at debian.org> wrote:
> Author: sylvestre
> Date: Sat Sep 28 10:35:02 2013
> New Revision: 191617
>
> URL: http://llvm.org/viewvc/llvm-project?rev=191617&view=rev
> Log:
> Remove useless declaration. If match_type == eNameMatchIgnore, we already left this function at the beginning of the method. Found by coverity. Fixes CID 1094188

Except that introduces a warning with Clang and -Wswitch:

[346/350] Building CXX object
tools/lldb/source/CMakeFiles/liblldb.dir/lldb.cpp.o
../tools/lldb/source/lldb.cpp:415:17: warning: enumeration value
'eNameMatchIgnore' not handled in switch [-Wswitch]
        switch (match_type)



More information about the lldb-commits mailing list