Fix build warnings
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@93 8d1e9007-1d4e-0410-b67e-1979fd6579aa
This commit is contained in:
parent
f0d6877650
commit
8d4addac08
1 changed files with 1 additions and 1 deletions
|
|
@ -37,6 +37,7 @@
|
||||||
#include "llvm-c/Transforms/Scalar.h"
|
#include "llvm-c/Transforms/Scalar.h"
|
||||||
#include "llvm-c/ExecutionEngine.h"
|
#include "llvm-c/ExecutionEngine.h"
|
||||||
#include "llvm-c/Target.h"
|
#include "llvm-c/Target.h"
|
||||||
|
#include "llvm-c/Transforms/IPO.h"
|
||||||
|
|
||||||
/* libc includes */
|
/* libc includes */
|
||||||
#include <stdarg.h> /* for malloc(), free() */
|
#include <stdarg.h> /* for malloc(), free() */
|
||||||
|
|
@ -984,7 +985,6 @@ _wLLVMRemoveModule2(PyObject *self, PyObject *args)
|
||||||
LLVMModuleRef mod, mod_new = 0;
|
LLVMModuleRef mod, mod_new = 0;
|
||||||
char *outmsg = 0;
|
char *outmsg = 0;
|
||||||
PyObject *ret;
|
PyObject *ret;
|
||||||
int error;
|
|
||||||
|
|
||||||
if (!PyArg_ParseTuple(args, "OO", &obj_ee, &obj_mod))
|
if (!PyArg_ParseTuple(args, "OO", &obj_ee, &obj_mod))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue