[Lldb-commits] [lldb] r211812 - Fix an incomplete null structure spec in Python readline suppression module.

Todd Fiala todd.fiala at gmail.com
Thu Jun 26 15:35:36 PDT 2014


Author: tfiala
Date: Thu Jun 26 17:35:36 2014
New Revision: 211812

URL: http://llvm.org/viewvc/llvm-project?rev=211812&view=rev
Log:
Fix an incomplete null structure spec in Python readline suppression module.

Now that I'm building Linux with clang, I'm seeing more clang warnings.
This fills in some extra fields missing in the final end-of-structure-array
marker.

Modified:
    lldb/trunk/scripts/Python/modules/readline/readline.cpp

Modified: lldb/trunk/scripts/Python/modules/readline/readline.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/modules/readline/readline.cpp?rev=211812&r1=211811&r2=211812&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/modules/readline/readline.cpp (original)
+++ lldb/trunk/scripts/Python/modules/readline/readline.cpp Thu Jun 26 17:35:36 2014
@@ -8,7 +8,7 @@
 
 static struct PyMethodDef moduleMethods[] =
 {
-    {0, 0}
+    {nullptr, nullptr, 0, nullptr}
 };
 
 PyDoc_STRVAR(





More information about the lldb-commits mailing list