{}
};
- const char *p;
int c, r;
assert(argc >= 0);
return version();
case 't': {
+ const char *p;
+
if (isempty(optarg))
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
"--type= requires arguments.");
arg_properties = new0(char*, 1);
if (!arg_properties)
return log_oom();
- } else
+ } else {
+ const char *p;
+
for (p = optarg;;) {
_cleanup_free_ char *prop = NULL;
prop = NULL;
}
+ }
/* If the user asked for a particular
* property, show it to him, even if it is
break;
case ARG_STATE: {
+ const char *p;
+
if (isempty(optarg))
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
"--state= requires arguments.");