remove duplicate semicolons
This commit is contained in:
parent
0c77310d39
commit
33b4055123
|
@ -308,7 +308,7 @@ static int process_suffix_chop(const char *prefixes, const char *suffix) {
|
||||||
/* Strip prefix from the suffix */
|
/* Strip prefix from the suffix */
|
||||||
NULSTR_FOREACH(p, prefixes) {
|
NULSTR_FOREACH(p, prefixes) {
|
||||||
if (startswith(suffix, p)) {
|
if (startswith(suffix, p)) {
|
||||||
suffix += strlen(p);;
|
suffix += strlen(p);
|
||||||
suffix += strspn(suffix, "/");
|
suffix += strspn(suffix, "/");
|
||||||
return process_suffix(prefixes, suffix);
|
return process_suffix(prefixes, suffix);
|
||||||
}
|
}
|
||||||
|
|
|
@ -237,7 +237,7 @@ static ssize_t request_reader_entries(
|
||||||
m->tmp = tmpfile();
|
m->tmp = tmpfile();
|
||||||
if (!m->tmp) {
|
if (!m->tmp) {
|
||||||
log_error("Failed to create temporary file: %m");
|
log_error("Failed to create temporary file: %m");
|
||||||
return MHD_CONTENT_READER_END_WITH_ERROR;;
|
return MHD_CONTENT_READER_END_WITH_ERROR;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -603,7 +603,7 @@ static ssize_t request_reader_fields(
|
||||||
m->tmp = tmpfile();
|
m->tmp = tmpfile();
|
||||||
if (!m->tmp) {
|
if (!m->tmp) {
|
||||||
log_error("Failed to create temporary file: %m");
|
log_error("Failed to create temporary file: %m");
|
||||||
return MHD_CONTENT_READER_END_WITH_ERROR;;
|
return MHD_CONTENT_READER_END_WITH_ERROR;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -97,7 +97,7 @@ static struct udev_device *handle_scsi_fibre_channel(struct udev_device *parent,
|
||||||
struct udev_device *targetdev;
|
struct udev_device *targetdev;
|
||||||
struct udev_device *fcdev = NULL;
|
struct udev_device *fcdev = NULL;
|
||||||
const char *port;
|
const char *port;
|
||||||
char *lun = NULL;;
|
char *lun = NULL;
|
||||||
|
|
||||||
targetdev = udev_device_get_parent_with_subsystem_devtype(parent, "scsi", "scsi_target");
|
targetdev = udev_device_get_parent_with_subsystem_devtype(parent, "scsi", "scsi_target");
|
||||||
if (targetdev == NULL)
|
if (targetdev == NULL)
|
||||||
|
|
Loading…
Reference in a new issue