chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove unused variables
[elogind.git]
/
src
/
python-systemd
/
_reader.c
diff --git
a/src/python-systemd/_reader.c
b/src/python-systemd/_reader.c
index 059b904de791071f9c449bbfe0f968022f246882..d17aa83ec92e8d11ea508df6b2768d774fdffa2f 100644
(file)
--- a/
src/python-systemd/_reader.c
+++ b/
src/python-systemd/_reader.c
@@
-25,7
+25,7
@@
#include <time.h>
#include <stdio.h>
#include <time.h>
#include <stdio.h>
-#include
<systemd/sd-journal.h>
+#include
"systemd/sd-journal.h"
#include "pyutil.h"
#include "macro.h"
#include "pyutil.h"
#include "macro.h"
@@
-902,7
+902,6
@@
static PyObject* get_catalog(PyObject *self, PyObject *args) {
sd_id128_t id;
_cleanup_free_ char *msg = NULL;
sd_id128_t id;
_cleanup_free_ char *msg = NULL;
- assert(!self);
assert(args);
if (!PyArg_ParseTuple(args, "z:get_catalog", &id_))
assert(args);
if (!PyArg_ParseTuple(args, "z:get_catalog", &id_))