Verified Commit da8de1a2 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Remove unused function



Remove unused function and remove the the compiler flag to ignore unused
functions.

Signed-off-by: Jelle van der Waa's avatarJelle van der Waa <jelle@vdwaa.nl>
parent a15b87fb
......@@ -8,7 +8,6 @@ pyalpm_version = '0.8'
cflags = ['-Wall', '-Wextra', '-Werror',
'-Wno-unused-parameter',
'-Wno-unused-function',
'-std=c99', '-D_FILE_OFFSET_BITS=64']
alpm = Extension('pyalpm',
......
......@@ -193,14 +193,6 @@ static PyObject* pyobject_from_pmdepmissing(void *item) {
return result;
}
static PyObject* pyobject_from_pmconflict(void *item) {
alpm_conflict_t* conflict = (alpm_conflict_t*)item;
return Py_BuildValue("(sss)",
conflict->package1,
conflict->package2,
conflict->reason);
}
static PyObject* pyobject_from_pmfileconflict(void *item) {
alpm_fileconflict_t* conflict = (alpm_fileconflict_t*)item;
const char *target = conflict->target;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment