chiark / gitweb /
Remove some unused variables
[elogind.git] / src / shared / util.c
index 69f1b00934321ac8ae4e07fd9a2f50de33fbfd40..872f6f737192c827212f45a1aed2fa3c1c12b167 100644 (file)
@@ -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;