chiark / gitweb /
logind: allow suspending if there are no displays
[elogind.git] / src / core / load-fragment.c
index 3b36d1568c8df75370482aff4ae6349704bc9f47..14c194bf967bfc91b431bfdb96ec04b2267c5461 100644 (file)
@@ -97,9 +97,8 @@ int config_parse_unit_deps(const char* unit,
 
         UnitDependency d = ltype;
         Unit *u = userdata;
-        char *w;
+        char *w, *state;
         size_t l;
-        char *state;
 
         assert(filename);
         assert(lvalue);