mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
Remove some unused variables
This commit is contained in:
parent
fd4a5ec6fa
commit
4750fade13
@ -596,7 +596,7 @@ static int add_this_boot(sd_journal *j) {
|
||||
}
|
||||
|
||||
static int add_unit(sd_journal *j) {
|
||||
_cleanup_free_ char *m = NULL, *u = NULL;
|
||||
_cleanup_free_ char *u = NULL;
|
||||
int r;
|
||||
|
||||
assert(j);
|
||||
|
@ -54,7 +54,7 @@ PyDoc_STRVAR(get_boot__doc__,
|
||||
static PyObject* make_uuid(sd_id128_t id) {
|
||||
PyObject _cleanup_Py_DECREF_
|
||||
*uuid = NULL, *UUID = NULL, *bytes = NULL,
|
||||
*args = NULL, *kwargs = NULL, *obj = NULL;
|
||||
*args = NULL, *kwargs = NULL;
|
||||
|
||||
uuid = PyImport_ImportModule("uuid");
|
||||
if (!uuid)
|
||||
|
@ -5553,7 +5553,6 @@ int on_ac_power(void) {
|
||||
for (;;) {
|
||||
struct dirent *de;
|
||||
union dirent_storage buf;
|
||||
_cleanup_free_ char *p = NULL;
|
||||
_cleanup_close_ int fd = -1, device = -1;
|
||||
char contents[6];
|
||||
ssize_t n;
|
||||
|
Loading…
Reference in New Issue
Block a user